Skip to content

Commit

Permalink
use device detector 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Findus23 committed Nov 1, 2020
1 parent 7e8778b commit 68ce239
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -6,6 +6,6 @@
},
"require": {
"matomo/searchengine-and-social-list": "dev-master",
"piwik/device-detector": "dev-master"
"matomo/device-detector": "dev-master"
}
}
4 changes: 2 additions & 2 deletions devicedetector.php
Expand Up @@ -2,7 +2,7 @@

require_once "vendor/autoload.php";

$brands = \DeviceDetector\Parser\Device\DeviceParserAbstract::$deviceBrands;
$brands = \DeviceDetector\Parser\Device\AbstractDeviceParser::$deviceBrands;
natcasesort($brands);

$data = [
Expand All @@ -11,4 +11,4 @@
"brand" => $brands
];

echo json_encode($data);
echo json_encode($data);

0 comments on commit 68ce239

Please sign in to comment.