@@ -88,7 +88,6 @@ discard block |
||
88 | 88 | /** |
89 | 89 | * Constructs the OpenWeatherMap object. |
90 | 90 | * |
91 | - * @param null|string $appid The API key. Defaults to null. |
|
92 | 91 | * @param null|FetcherInterface $fetcher The interface to fetch the data from OpenWeatherMap. Defaults to |
93 | 92 | * CurlFetcher() if cURL is available. Otherwise defaults to |
94 | 93 | * FileGetContentsFetcher() using 'file_get_contents()'. |
@@ -491,7 +490,7 @@ discard block |
||
491 | 490 | * |
492 | 491 | * @param array|int|string $query The place to get weather information for. For possible values see below. |
493 | 492 | * @param \DateTime $start The \DateTime object of the date to get the first weather information from. |
494 | - * @param \DateTime|int $endOrCount Can be either a \DateTime object representing the end of the period to |
|
493 | + * @param integer $endOrCount Can be either a \DateTime object representing the end of the period to |
|
495 | 494 | * receive weather history data for or an integer counting the number of |
496 | 495 | * reports requested. |
497 | 496 | * @param string $type The period of the weather history requested. Can be either be either "tick", |
@@ -557,7 +556,7 @@ discard block |
||
557 | 556 | /** |
558 | 557 | * Fetches the result or delivers a cached version of the result. |
559 | 558 | * |
560 | - * @param $url |
|
559 | + * @param string $url |
|
561 | 560 | * |
562 | 561 | * @return string |
563 | 562 | * |
@@ -588,13 +587,13 @@ discard block |
||
588 | 587 | * Build the url to fetch weather data from. |
589 | 588 | * |
590 | 589 | * @param $query |
591 | - * @param $units |
|
592 | - * @param $lang |
|
593 | - * @param $appid |
|
594 | - * @param $mode |
|
590 | + * @param string $units |
|
591 | + * @param string $lang |
|
592 | + * @param string $appid |
|
593 | + * @param string $mode |
|
595 | 594 | * @param string $url The url to prepend. |
596 | 595 | * |
597 | - * @return bool|string The fetched url, false on failure. |
|
596 | + * @return string The fetched url, false on failure. |
|
598 | 597 | * |
599 | 598 | * @internal |
600 | 599 | */ |