Passed
Push — main ( 0c9f01...b86878 )
by Pouya
05:21 queued 02:57
created
src/Objects/PaymentResponse.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,9 @@
 block discarded – undo
36 36
      */
37 37
 
38 38
     public function __construct($params){
39
-        if(is_null($params))
40
-            return;
39
+        if(is_null($params)) {
40
+                    return;
41
+        }
41 42
         $this->to = data_get($params,'to');
42 43
         $this->from = data_get($params,'from');
43 44
         $this->amount = data_get($params,'amount');
Please login to merge, or discard this patch.
src/Objects/ReceiveResponse.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,9 @@
 block discarded – undo
19 19
     public $callback;
20 20
 
21 21
     public function __construct($params){
22
-        if(is_null($params))
23
-            return;
22
+        if(is_null($params)) {
23
+                    return;
24
+        }
24 25
         $this->address = data_get($params,'address');
25 26
         $this->index = data_get($params,'index');
26 27
         $this->callback = data_get($params,'callback');
Please login to merge, or discard this patch.