@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * Constructor |
| 54 | 54 | * @param string $application_url Contain url of the current application |
| 55 | - * @param Guzzle\Client|null $http_client Client object from Guzzle |
|
| 55 | + * @param null|Client $http_client Client object from Guzzle |
|
| 56 | 56 | */ |
| 57 | 57 | public function __construct( |
| 58 | 58 | $application_url, |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | /** |
| 112 | 112 | * Returns a new search object based on the base search. |
| 113 | 113 | * |
| 114 | - * @return Search |
|
| 114 | + * @return Reverse |
|
| 115 | 115 | */ |
| 116 | 116 | public function newReverse() |
| 117 | 117 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | |
| 147 | 147 | /** |
| 148 | 148 | * Runs the query and returns the result set from Nominatim. |
| 149 | - * @param NominatimInterface $nRequest The object request to send |
|
| 149 | + * @param QueryInterface $nRequest The object request to send |
|
| 150 | 150 | * |
| 151 | 151 | * @return array The decoded data returned from Nominatim |
| 152 | 152 | * @throws \GuzzleHttp\Exception\ClientException if http request is an error |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | 173 | * Return the client using by instance |
| 174 | - * @return GuzzleHttp\Client |
|
| 174 | + * @return Client |
|
| 175 | 175 | */ |
| 176 | 176 | public function getClient() |
| 177 | 177 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use GuzzleHttp\Client; |
| 12 | 12 | use GuzzleHttp\Psr7\Request; |
| 13 | 13 | use GuzzleHttp\Psr7\Response; |
| 14 | - |
|
| 15 | 14 | use maxh\Nominatim\Exceptions\InvalidParameterException; |
| 16 | 15 | use maxh\Nominatim\Exceptions\NominatimException; |
| 17 | 16 | |