Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu committed Aug 8, 2023
1 parent d417abf commit 96fb50f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DeviceDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,9 @@ protected function parseDevice(): void
/**
* Devices running Kylo or Espial TV Browsers are assumed to be a TV
*/
if (\in_array($clientName, ['Kylo', 'Espial TV Browser', 'LUJO TV Browser', 'LogicUI TV Browser', 'Open TV Browser'])) {
if (\in_array($clientName, [

Check failure on line 1046 in DeviceDetector.php

View workflow job for this annotation

GitHub Actions / PHPCS

Add a comma after each item in a multi-line array
'Kylo', 'Espial TV Browser', 'LUJO TV Browser', 'LogicUI TV Browser', 'Open TV Browser'
])) {

Check failure on line 1048 in DeviceDetector.php

View workflow job for this annotation

GitHub Actions / PHPCS

Closing parenthesis of a multi-line IF statement must be on a new line
$this->device = AbstractDeviceParser::DEVICE_TYPE_TV;
}

Expand Down

0 comments on commit 96fb50f

Please sign in to comment.