diff --git a/composer.json b/composer.json index f2b86c2..4ceabf0 100644 --- a/composer.json +++ b/composer.json @@ -41,8 +41,8 @@ "php": ">=7.0" }, "autoload": { - "psr-0": { - "Location": "src/" + "psr-4": { + "Location\\": "src/Location" } }, "require-dev": { diff --git a/phpunit.xml b/phpunit.xml index 10598ce..b43d819 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -7,4 +7,9 @@ tests/Regression/ + + + src/Location + + diff --git a/src/Location/Ellipsoid.php b/src/Location/Ellipsoid.php index fbb9e66..879dcff 100644 --- a/src/Location/Ellipsoid.php +++ b/src/Location/Ellipsoid.php @@ -80,7 +80,7 @@ public static function createDefault($name = 'WGS-84'): Ellipsoid } /** - * @param $config + * @param array $config * * @return Ellipsoid */