Skip to content

Commit

Permalink
Fix #5743 (#5744)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpolaszek authored and sgiehl committed May 28, 2018
1 parent 746721a commit f1516ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -6,10 +6,16 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm

dist: trusty

matrix:
include:
- php: 5.3
dist: precise

sudo: false

services:
Expand Down
2 changes: 1 addition & 1 deletion DeviceDetector.php
Expand Up @@ -679,7 +679,7 @@ protected function parseDevice()
/**
* Assume all devices running iOS / Mac OS are from Apple
*/
if (empty($this->brand) && in_array($osShortName, ['ATV', 'IOS', 'MAC'])) {
if (empty($this->brand) && in_array($osShortName, array('ATV', 'IOS', 'MAC'))) {
$this->brand = 'AP';
}

Expand Down

0 comments on commit f1516ef

Please sign in to comment.