1
0
Fork 0
mirror of https://github.com/matomo-org/matomo-icons.git synced 2024-09-16 13:33:45 +02:00

use device detector 4

This commit is contained in:
Lukas Winkler 2020-11-01 09:55:00 +01:00
parent 7e8778b99f
commit 68ce2391a5
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 3 additions and 3 deletions

View file

@ -6,6 +6,6 @@
},
"require": {
"matomo/searchengine-and-social-list": "dev-master",
"piwik/device-detector": "dev-master"
"matomo/device-detector": "dev-master"
}
}

View file

@ -2,7 +2,7 @@
require_once "vendor/autoload.php";
$brands = \DeviceDetector\Parser\Device\DeviceParserAbstract::$deviceBrands;
$brands = \DeviceDetector\Parser\Device\AbstractDeviceParser::$deviceBrands;
natcasesort($brands);
$data = [
@ -11,4 +11,4 @@ $data = [
"brand" => $brands
];
echo json_encode($data);
echo json_encode($data);