@@ -40,7 +40,6 @@ |
||
40 | 40 | * @param HttpClientInterface $client |
41 | 41 | * @param UrlFactory $factory |
42 | 42 | * @param HandlerInterface $handler |
43 | - * @param \Marek\OpenWeatherMap\Denormalizer\DenormalizerInterface $hydrator |
|
44 | 43 | */ |
45 | 44 | public function __construct(HttpClientInterface $client, UrlFactory $factory, HandlerInterface $handler, DenormalizerInterface $denormalizer) |
46 | 45 | { |
@@ -37,6 +37,9 @@ |
||
37 | 37 | |
38 | 38 | } |
39 | 39 | |
40 | + /** |
|
41 | + * @param string $key |
|
42 | + */ |
|
40 | 43 | protected function getDateTimeFromTimestamp($key, $data) |
41 | 44 | { |
42 | 45 | return empty($data[$key]) ? null : new \DateTimeImmutable("@{$data[$key]}"); |
@@ -35,7 +35,7 @@ |
||
35 | 35 | /** |
36 | 36 | * WeatherServices constructor. |
37 | 37 | * |
38 | - * @param \Marek\OpenWeatherMap\API\Weather\WeatherServicesInterface $weatherService |
|
38 | + * @param WeatherInterface $weatherService |
|
39 | 39 | * @param \Marek\OpenWeatherMap\API\Weather\Services\HourForecastInterface $hourForecastService |
40 | 40 | * @param \Marek\OpenWeatherMap\API\Weather\Services\UltravioletIndexInterface $ultravioletIndexService |
41 | 41 | * @param \Marek\OpenWeatherMap\API\Weather\Services\AirPollutionInterface $airPollutionService |