|
@@ -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. |
|
@@ -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. |
Please login to merge, or discard this patch.