@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | * |
| 323 | 323 | * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
| 324 | 324 | * @param \DateTime $start The \DateTime object of the date to get the first weather information from. |
| 325 | - * @param \DateTime|int $endOrCount Can be either a \DateTime object representing the end of the period to |
|
| 325 | + * @param integer $endOrCount Can be either a \DateTime object representing the end of the period to |
|
| 326 | 326 | * receive weather history data for or an integer counting the number of |
| 327 | 327 | * reports requested. |
| 328 | 328 | * @param string $type The period of the weather history requested. Can be either be either "tick", |
@@ -407,13 +407,13 @@ discard block |
||
| 407 | 407 | * Build the url to fetch weather data from. |
| 408 | 408 | * |
| 409 | 409 | * @param $query |
| 410 | - * @param $units |
|
| 411 | - * @param $lang |
|
| 412 | - * @param $appid |
|
| 413 | - * @param $mode |
|
| 410 | + * @param string $units |
|
| 411 | + * @param string $lang |
|
| 412 | + * @param string $appid |
|
| 413 | + * @param string $mode |
|
| 414 | 414 | * @param string $url The url to prepend. |
| 415 | 415 | * |
| 416 | - * @return bool|string The fetched url, false on failure. |
|
| 416 | + * @return string The fetched url, false on failure. |
|
| 417 | 417 | */ |
| 418 | 418 | private function buildUrl($query, $units, $lang, $appid, $mode, $url) |
| 419 | 419 | { |