@@ -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 | { |
@@ -20,9 +20,9 @@ discard block |
||
| 20 | 20 | use QueryTrait; |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * Output format accepted |
|
| 24 | - * @var array |
|
| 25 | - */ |
|
| 23 | + * Output format accepted |
|
| 24 | + * @var array |
|
| 25 | + */ |
|
| 26 | 26 | public $accepteFormat = ['html', 'xml', 'json', 'jsonv2']; |
| 27 | 27 | |
| 28 | 28 | /** |
@@ -246,12 +246,12 @@ discard block |
||
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | /** |
| 249 | - * Include a breakdown of the address into elements. |
|
| 250 | - * |
|
| 251 | - * @param boolean $details |
|
| 252 | - * |
|
| 253 | - * @return maxh\Nominatim\Search |
|
| 254 | - */ |
|
| 249 | + * Include a breakdown of the address into elements. |
|
| 250 | + * |
|
| 251 | + * @param boolean $details |
|
| 252 | + * |
|
| 253 | + * @return maxh\Nominatim\Search |
|
| 254 | + */ |
|
| 255 | 255 | public function addressDetails($details = true) |
| 256 | 256 | { |
| 257 | 257 | $this->query['addressdetails'] = $details ? "1" : "0"; |