Passed
Push — main ( 4f667e...0f6bfa )
by Pouya
02:05
created
src/Objects/Cache.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,12 @@
 block discarded – undo
10 10
     public $changeAccount;
11 11
 
12 12
     public function __construct($params){
13
-        if(array_key_exists('receiveAccount',$params))
14
-            $this->receiveAccount = data_get($params,'receiveAccount');
15
-        if(array_key_exists('changeAccount',$params))
16
-            $this->changeAccount = new Cache(data_get($params,'changeAccount'));
13
+        if(array_key_exists('receiveAccount',$params)) {
14
+                    $this->receiveAccount = data_get($params,'receiveAccount');
15
+        }
16
+        if(array_key_exists('changeAccount',$params)) {
17
+                    $this->changeAccount = new Cache(data_get($params,'changeAccount'));
18
+        }
17 19
     }
18 20
 
19 21
 }
Please login to merge, or discard this patch.