diff --git a/src/Stages/DeviceDetector.php b/src/Stages/DeviceDetector.php index 2324a71..acc21ea 100644 --- a/src/Stages/DeviceDetector.php +++ b/src/Stages/DeviceDetector.php @@ -65,9 +65,9 @@ public function __invoke(PayloadInterface $payload): PayloadInterface if (! empty($device['type'])) { if ($device['type'] === 'desktop') { $payload->setValue('isDesktop', true); - } elseif ($device['type'] === 'tablet' || $device['type'] === 'phablet') { + } elseif ($device['type'] === 'tablet') { $payload->setValue('isTablet', true); - } elseif ($device['type'] === 'smartphone' || $device['type'] === 'feature phone') { + } elseif ($device['type'] === 'smartphone' || $device['type'] === 'feature phone' || $device['type'] === 'phablet') { $payload->setValue('isMobile', true); } }