@@ -21,8 +21,7 @@ |
||
| 21 | 21 | if ($this->check($data)) |
| 22 | 22 | { |
| 23 | 23 | parent::__construct($data); |
| 24 | - } |
|
| 25 | - else |
|
| 24 | + } else |
|
| 26 | 25 | { |
| 27 | 26 | throw new \InvalidArgumentException('Item from array must be instance of CryptoRateObject'); |
| 28 | 27 | } |
@@ -23,8 +23,7 @@ |
||
| 23 | 23 | if ($this->check($data)) |
| 24 | 24 | { |
| 25 | 25 | parent::__construct($data); |
| 26 | - } |
|
| 27 | - else |
|
| 26 | + } else |
|
| 28 | 27 | { |
| 29 | 28 | throw new \InvalidArgumentException('Item from array must be instance of FiatRateObject'); |
| 30 | 29 | } |