@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * Returns the forecast for the place you specified. |
217 | 217 | * |
218 | - * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
218 | + * @param string $query The place to get weather information for. For possible values see ::getWeather. |
|
219 | 219 | * @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned. |
220 | 220 | * @param string $lang The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi. |
221 | 221 | * @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details. |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * Returns the DAILY forecast for the place you specified. |
247 | 247 | * |
248 | - * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
248 | + * @param string $query The place to get weather information for. For possible values see ::getWeather. |
|
249 | 249 | * @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned. |
250 | 250 | * @param string $lang The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi. |
251 | 251 | * @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details. |
@@ -603,10 +603,10 @@ discard block |
||
603 | 603 | * Build the url to fetch weather data from. |
604 | 604 | * |
605 | 605 | * @param $query |
606 | - * @param $units |
|
607 | - * @param $lang |
|
608 | - * @param $appid |
|
609 | - * @param $mode |
|
606 | + * @param string $units |
|
607 | + * @param string $lang |
|
608 | + * @param string $appid |
|
609 | + * @param string $mode |
|
610 | 610 | * @param string $url The url to prepend. |
611 | 611 | * |
612 | 612 | * @return bool|string The fetched url, false on failure. |