@@ -339,7 +339,7 @@ |
||
| 339 | 339 | } |
| 340 | 340 | |
| 341 | 341 | /** |
| 342 | - * @param null $premise |
|
| 342 | + * @param null|string $premise |
|
| 343 | 343 | * |
| 344 | 344 | * @return GoogleAddress |
| 345 | 345 | */ |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | * @param Plugin[] $pluginList A list of plugins |
| 124 | 124 | * @param callable $clientCallable Callable making the HTTP call |
| 125 | 125 | * |
| 126 | - * @return callable |
|
| 126 | + * @return \Closure |
|
| 127 | 127 | */ |
| 128 | 128 | private function createPluginChain(array $pluginList, callable $clientCallable) |
| 129 | 129 | { |
@@ -15,13 +15,13 @@ |
||
| 15 | 15 | use Geocoder\Collection; |
| 16 | 16 | use Geocoder\Exception\Exception; |
| 17 | 17 | use Geocoder\Exception\LogicException; |
| 18 | +use Geocoder\Plugin\Exception\LoopException; |
|
| 18 | 19 | use Geocoder\Plugin\Promise\GeocoderFulfilledPromise; |
| 19 | 20 | use Geocoder\Plugin\Promise\GeocoderRejectedPromise; |
| 20 | 21 | use Geocoder\Provider\Provider; |
| 21 | 22 | use Geocoder\Query\GeocodeQuery; |
| 22 | 23 | use Geocoder\Query\Query; |
| 23 | 24 | use Geocoder\Query\ReverseQuery; |
| 24 | -use Geocoder\Plugin\Exception\LoopException; |
|
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @author Joel Wurtz <[email protected]> |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | |
| 15 | 15 | use Geocoder\Exception\QuotaExceeded; |
| 16 | 16 | use Geocoder\Model\AddressCollection; |
| 17 | -use Geocoder\Plugin\Plugin\LoggerPlugin; |
|
| 18 | 17 | use Geocoder\Plugin\PluginProvider; |
| 18 | +use Geocoder\Plugin\Plugin\LoggerPlugin; |
|
| 19 | 19 | use Geocoder\Provider\Provider; |
| 20 | 20 | use Geocoder\Query\GeocodeQuery; |
| 21 | 21 | use PHPUnit\Framework\TestCase; |