We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e4cb3 commit 1d898b4Copy full SHA for 1d898b4
src/Geocoder/Provider/Geonames.php
@@ -13,7 +13,7 @@
13
use Geocoder\Exception\InvalidCredentials;
14
use Geocoder\Exception\NoResult;
15
use Geocoder\Exception\UnsupportedOperation;
16
-use Geocoder\Model\AdminLevelCollectionInterface;
+use Geocoder\Model\AdminLevelCollection;
17
use Http\Client\HttpClient;
18
19
/**
@@ -138,7 +138,7 @@ private function executeQuery($query)
138
139
$adminLevels = [];
140
141
- for ($level = 1; $level <= AdminLevelCollectionInterface::MAX_LEVEL_DEPTH; ++ $level) {
+ for ($level = 1; $level <= AdminLevelCollection::MAX_LEVEL_DEPTH; ++ $level) {
142
$adminNameProp = 'adminName' . $level;
143
$adminCodeProp = 'adminCode' . $level;
144
if (! empty($item->$adminNameProp) || ! empty($item->$adminCodeProp)) {
0 commit comments