@@ -34,6 +34,9 @@ |
||
34 | 34 | */ |
35 | 35 | class ExampleCache extends AbstractCache |
36 | 36 | { |
37 | + /** |
|
38 | + * @param string $url |
|
39 | + */ |
|
37 | 40 | private function urlToPath($url) |
38 | 41 | { |
39 | 42 | $tmp = sys_get_temp_dir(); |
@@ -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 | { |
@@ -18,7 +18,6 @@ |
||
18 | 18 | namespace Cmfcmf\OpenWeatherMap\IntegTests; |
19 | 19 | |
20 | 20 | use Cmfcmf\OpenWeatherMap; |
21 | -use Cmfcmf\OpenWeatherMap\Exception as OWMException; |
|
22 | 21 | |
23 | 22 | class ForecastDailyTest extends \PHPUnit_Framework_TestCase |
24 | 23 | { |