@@ -49,7 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | public function filterByPair(string $crypto, string $fiat): CryptoRatesCollection |
| 51 | 51 | { |
| 52 | - return $this->filter(function (CryptoRateObject $rate) use ($crypto, $fiat) |
|
| 52 | + return $this->filter(function(CryptoRateObject $rate) use ($crypto, $fiat) |
|
| 53 | 53 | { |
| 54 | 54 | return $rate->getCrypto() === $crypto && $rate->getFiat() === $fiat; |
| 55 | 55 | }); |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | |
| 52 | 52 | public function filterByPair(string $from, string $to): FiatRatesCollection |
| 53 | 53 | { |
| 54 | - return $this->filter(function (FiatRateObject $rate) use ($from, $to) |
|
| 54 | + return $this->filter(function(FiatRateObject $rate) use ($from, $to) |
|
| 55 | 55 | { |
| 56 | 56 | return $rate->getFrom() === $from && $rate->getTo() === $to; |
| 57 | 57 | }); |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function __construct(string $apiKey) |
| 36 | 36 | { |
| 37 | - $this->apiClient = new APIClient($apiKey); |
|
| 37 | + $this->apiClient = new APIClient($apiKey); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |