@@ -47,8 +47,9 @@ |
||
47 | 47 | */ |
48 | 48 | |
49 | 49 | public function __construct($params){ |
50 | - if(is_null($params)) |
|
51 | - return; |
|
50 | + if(is_null($params)) { |
|
51 | + return; |
|
52 | + } |
|
52 | 53 | $this->balance = data_get($params,'balance'); |
53 | 54 | $this->label = data_get($params,'label'); |
54 | 55 | $this->index = data_get($params,'index'); |