|
@@ -191,7 +191,7 @@ discard block |
|
|
block discarded – undo |
|
191
|
191
|
/** |
|
192
|
192
|
* Returns the current weather for a group of city ids. |
|
193
|
193
|
* |
|
194
|
|
- * @param array $ids The city ids to get weather information for |
|
|
194
|
+ * @param string $ids The city ids to get weather information for |
|
195
|
195
|
* @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned. |
|
196
|
196
|
* @param string $lang The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi. |
|
197
|
197
|
* @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details. |
|
@@ -215,7 +215,7 @@ discard block |
|
|
block discarded – undo |
|
215
|
215
|
* Returns the forecast for the place you specified. DANGER: Might return |
|
216
|
216
|
* fewer results than requested due to a bug in the OpenWeatherMap API! |
|
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. |
|
@@ -246,7 +246,7 @@ discard block |
|
|
block discarded – undo |
|
246
|
246
|
* Returns the DAILY forecast for the place you specified. DANGER: Might return |
|
247
|
247
|
* fewer results than requested due to a bug in the OpenWeatherMap API! |
|
248
|
248
|
* |
|
249
|
|
- * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
|
249
|
+ * @param string $query The place to get weather information for. For possible values see ::getWeather. |
|
250
|
250
|
* @param string $units Can be either 'metric' or 'imperial' (default). This affects almost all units returned. |
|
251
|
251
|
* @param string $lang The language to use for descriptions, default is 'en'. For possible values see http://openweathermap.org/current#multi. |
|
252
|
252
|
* @param string $appid Your app id, default ''. See http://openweathermap.org/appid for more details. |
|
@@ -273,7 +273,7 @@ discard block |
|
|
block discarded – undo |
|
273
|
273
|
/** |
|
274
|
274
|
* Returns the weather history for the place you specified. |
|
275
|
275
|
* |
|
276
|
|
- * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
|
276
|
+ * @param string $query The place to get weather information for. For possible values see ::getWeather. |
|
277
|
277
|
* @param \DateTime $start |
|
278
|
278
|
* @param int $endOrCount |
|
279
|
279
|
* @param string $type Can either be 'tick', 'hour' or 'day'. |
|
@@ -400,7 +400,7 @@ discard block |
|
|
block discarded – undo |
|
400
|
400
|
* |
|
401
|
401
|
* @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
|
402
|
402
|
* @param \DateTime $start The \DateTime object of the date to get the first weather information from. |
|
403
|
|
- * @param \DateTime|int $endOrCount Can be either a \DateTime object representing the end of the period to |
|
|
403
|
+ * @param integer $endOrCount Can be either a \DateTime object representing the end of the period to |
|
404
|
404
|
* receive weather history data for or an integer counting the number of |
|
405
|
405
|
* reports requested. |
|
406
|
406
|
* @param string $type The period of the weather history requested. Can be either be either "tick", |
|
@@ -485,10 +485,10 @@ discard block |
|
|
block discarded – undo |
|
485
|
485
|
* Build the url to fetch weather data from. |
|
486
|
486
|
* |
|
487
|
487
|
* @param $query |
|
488
|
|
- * @param $units |
|
489
|
|
- * @param $lang |
|
490
|
|
- * @param $appid |
|
491
|
|
- * @param $mode |
|
|
488
|
+ * @param string $units |
|
|
489
|
+ * @param string $lang |
|
|
490
|
+ * @param string $appid |
|
|
491
|
+ * @param string $mode |
|
492
|
492
|
* @param string $url The url to prepend. |
|
493
|
493
|
* |
|
494
|
494
|
* @return bool|string The fetched url, false on failure. |