@@ -13,8 +13,9 @@ |
||
13 | 13 | public $sell; |
14 | 14 | |
15 | 15 | public function __construct($currency, $params){ |
16 | - if(is_null($params)) |
|
17 | - return; |
|
16 | + if(is_null($params)) { |
|
17 | + return; |
|
18 | + } |
|
18 | 19 | $this->currency = $currency; |
19 | 20 | $this->m15 = data_get($params,'15m'); |
20 | 21 | $this->last = data_get($params,'last'); |