Passed
Branch master (776013)
by payever
03:51
created
ExternalIntegration/Payments/Http/ResponseEntity/CreatePaymentResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     public function isValid()
59 59
     {
60 60
         return parent::isValid() &&
61
-            ($this->call   instanceof CallEntity   && $this->call->isValid()) &&
61
+            ($this->call   instanceof CallEntity && $this->call->isValid()) &&
62 62
             ($this->result instanceof ResultEntity && $this->result->isValid() || !$this->result)
63 63
         ;
64 64
     }
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Payments/Api.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -399,8 +399,8 @@  discard block
 block discarded – undo
399 399
         $request = RequestBuilder::post($this->getAuthorizePaymentURL($paymentId))
400 400
             ->setParams(
401 401
                 array(
402
-                    'customer_id'  => isset($data['customer_id'])  ? $data['customer_id']  : null,
403
-                    'invoice_id'   => isset($data['invoice_id'])   ? $data['invoice_id']   : null,
402
+                    'customer_id'  => isset($data['customer_id']) ? $data['customer_id'] : null,
403
+                    'invoice_id'   => isset($data['invoice_id']) ? $data['invoice_id'] : null,
404 404
                     'invoice_date' => isset($data['invoice_date']) ? $data['invoice_date'] : null,
405 405
                 )
406 406
             )
@@ -517,8 +517,8 @@  discard block
 block discarded – undo
517 517
         $request = RequestBuilder::post($this->getShippingGoodsPaymentURL($paymentId))
518 518
             ->setParams(
519 519
                 array(
520
-                    'customer_id'  => isset($data['customer_id'])  ? $data['customer_id']  : null,
521
-                    'invoice_id'   => isset($data['invoice_id'])   ? $data['invoice_id']   : null,
520
+                    'customer_id'  => isset($data['customer_id']) ? $data['customer_id'] : null,
521
+                    'invoice_id'   => isset($data['invoice_id']) ? $data['invoice_id'] : null,
522 522
                     'invoice_date' => isset($data['invoice_date']) ? $data['invoice_date'] : null,
523 523
                 )
524 524
             )
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Core/Http/ResponseEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
     public function isValid()
76 76
     {
77 77
         return parent::isValid() &&
78
-            (!$this->call   || ($this->call   instanceof CallEntity   && $this->call->isValid())) &&
78
+            (!$this->call || ($this->call   instanceof CallEntity && $this->call->isValid())) &&
79 79
             (!$this->result || ($this->result instanceof ResultEntity && $this->result->isValid()) || is_array($this->result))
80 80
         ;
81 81
     }
Please login to merge, or discard this patch.
lib/Payever/ExternalIntegration/Core/Engine.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     {
44 44
         if (!self::$registered) {
45 45
             self::$registered = spl_autoload_register(
46
-                function ($className) {
46
+                function($className) {
47 47
                     if (strncmp(PEI_NAMESPACE, $className, strlen(PEI_NAMESPACE)) !== 0) {
48 48
                         return;
49 49
                     }
Please login to merge, or discard this patch.
ExternalIntegration/Products/Http/RequestEntity/ProductRequestEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     public function getImagesUuid()
220 220
     {
221 221
         return array_map(
222
-            function ($imageName) {
222
+            function($imageName) {
223 223
                 return substr($imageName, 0, strpos($imageName, '.'));
224 224
             },
225 225
             $this->getImages()
Please login to merge, or discard this patch.