|
@@ -209,7 +209,7 @@ discard block |
|
|
block discarded – undo |
|
209
|
209
|
* Returns the forecast for the place you specified. DANGER: Might return |
|
210
|
210
|
* fewer results than requested due to a bug in the OpenWeatherMap API! |
|
211
|
211
|
* |
|
212
|
|
- * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
|
212
|
+ * @param string $query The place to get weather information for. For possible values see ::getWeather. |
|
213
|
213
|
* @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned. |
|
214
|
214
|
* @param string $lang The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi. |
|
215
|
215
|
* @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details. |
|
@@ -240,7 +240,7 @@ discard block |
|
|
block discarded – undo |
|
240
|
240
|
* Returns the DAILY forecast for the place you specified. DANGER: Might return |
|
241
|
241
|
* fewer results than requested due to a bug in the OpenWeatherMap API! |
|
242
|
242
|
* |
|
243
|
|
- * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
|
243
|
+ * @param string $query The place to get weather information for. For possible values see ::getWeather. |
|
244
|
244
|
* @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned. |
|
245
|
245
|
* @param string $lang The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi. |
|
246
|
246
|
* @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details. |
|
@@ -522,10 +522,10 @@ discard block |
|
|
block discarded – undo |
|
522
|
522
|
* Build the url to fetch weather data from. |
|
523
|
523
|
* |
|
524
|
524
|
* @param $query |
|
525
|
|
- * @param $units |
|
526
|
|
- * @param $lang |
|
527
|
|
- * @param $appid |
|
528
|
|
- * @param $mode |
|
|
525
|
+ * @param string $units |
|
|
526
|
+ * @param string $lang |
|
|
527
|
+ * @param string $appid |
|
|
528
|
+ * @param string $mode |
|
529
|
529
|
* @param string $url The url to prepend. |
|
530
|
530
|
* |
|
531
|
531
|
* @return bool|string The fetched url, false on failure. |