@@ -95,6 +95,7 @@ |
||
| 95 | 95 | |
| 96 | 96 | /** |
| 97 | 97 | * @param ExchangeRateInterface ...$exchangeRates |
| 98 | + * @param ExchangeRateInterface[] $exchangeRates |
|
| 98 | 99 | * @return float |
| 99 | 100 | */ |
| 100 | 101 | private static function getAverageRatio(ExchangeRateInterface ...$exchangeRates): float |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Http\Discovery\HttpClientDiscovery; |
| 16 | 16 | use Http\Discovery\MessageFactoryDiscovery; |
| 17 | 17 | use Http\Message\RequestFactory; |
| 18 | -use Psr\SimpleCache\CacheInterface; |
|
| 19 | 18 | use SimpleXMLElement; |
| 20 | 19 | |
| 21 | 20 | final class EuropeanCentralBankProvider implements ExchangeRateProviderInterface |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Http\Discovery\HttpClientDiscovery; |
| 16 | 16 | use Http\Discovery\MessageFactoryDiscovery; |
| 17 | 17 | use Http\Message\RequestFactory; |
| 18 | -use Psr\SimpleCache\CacheInterface; |
|
| 19 | 18 | |
| 20 | 19 | final class FixerIOProvider implements ExchangeRateProviderInterface |
| 21 | 20 | { |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use Http\Discovery\HttpClientDiscovery; |
| 16 | 16 | use Http\Discovery\MessageFactoryDiscovery; |
| 17 | 17 | use Http\Message\RequestFactory; |
| 18 | -use Psr\SimpleCache\CacheInterface; |
|
| 19 | 18 | |
| 20 | 19 | final class OpenExchangeRatesProvider implements ExchangeRateProviderInterface |
| 21 | 20 | { |