@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | * |
| 292 | 292 | * @param array|int|string $query The place to get weather information for. For possible values see ::getWeather. |
| 293 | 293 | * @param \DateTime $start The \DateTime object of the date to get the first weather information from. |
| 294 | - * @param \DateTime|int $endOrCount Can be either a \DateTime object representing the end of the period to |
|
| 294 | + * @param integer $endOrCount Can be either a \DateTime object representing the end of the period to |
|
| 295 | 295 | * receive weather history data for or an integer counting the number of |
| 296 | 296 | * reports requested. |
| 297 | 297 | * @param string $type The period of the weather history requested. Can be either be either "tick", |
@@ -373,13 +373,13 @@ discard block |
||
| 373 | 373 | * Build the url to fetch weather data from. |
| 374 | 374 | * |
| 375 | 375 | * @param $query |
| 376 | - * @param $units |
|
| 377 | - * @param $lang |
|
| 378 | - * @param $appid |
|
| 379 | - * @param $mode |
|
| 376 | + * @param string $units |
|
| 377 | + * @param string $lang |
|
| 378 | + * @param string $appid |
|
| 379 | + * @param string $mode |
|
| 380 | 380 | * @param string $url The url to prepend. |
| 381 | 381 | * |
| 382 | - * @return bool|string The fetched url, false on failure. |
|
| 382 | + * @return string The fetched url, false on failure. |
|
| 383 | 383 | */ |
| 384 | 384 | private function buildUrl($query, $units, $lang, $appid, $mode, $url) |
| 385 | 385 | { |