diff --git a/composer.json b/composer.json index e8f2d56..0c76170 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,6 @@ }, "require": { "matomo/searchengine-and-social-list": "dev-master", - "piwik/device-detector": "dev-master" + "matomo/device-detector": "dev-master" } } diff --git a/devicedetector.php b/devicedetector.php index 3d44c46..d522895 100644 --- a/devicedetector.php +++ b/devicedetector.php @@ -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); \ No newline at end of file +echo json_encode($data);