@@ -122,7 +122,7 @@ |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | - * @param $key |
|
125 | + * @param string $key |
|
126 | 126 | * @return bool |
127 | 127 | */ |
128 | 128 | private function isExpired($key): bool |
@@ -110,7 +110,7 @@ |
||
110 | 110 | |
111 | 111 | |
112 | 112 | /** |
113 | - * @param DateTimeInterface|null $date |
|
113 | + * @param DateTimeInterface $date |
|
114 | 114 | * @return string |
115 | 115 | */ |
116 | 116 | private function pickUrl(DateTimeInterface $date): string |
@@ -94,7 +94,6 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | - * @param array $array |
|
98 | 97 | * @return float |
99 | 98 | */ |
100 | 99 | private static function getAverageRatio(ExchangeRateInterface ...$exchangeRates): float |
@@ -16,6 +16,7 @@ |
||
16 | 16 | /** |
17 | 17 | * CurrencyConverter constructor. |
18 | 18 | * @param ExchangeRateInterface[] ...$exchangeRates |
19 | + * @param \BenTools\Currency\Model\ExchangeRate $exchangeRates |
|
19 | 20 | */ |
20 | 21 | public function __construct(ExchangeRateInterface ...$exchangeRates) |
21 | 22 | { |