Passed
Pull Request — master (#408)
by Alexander
02:27
created
src/Types/Payments/ShippingAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = ['country_code', 'state', 'city', 'street_line1', 'street_line2', 'post_code'];
18
+    static protected $requiredParams = [ 'country_code', 'state', 'city', 'street_line1', 'street_line2', 'post_code' ];
19 19
 
20 20
     /**
21 21
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/ArrayOfLabeledPrice.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 {
7 7
     public static function fromResponse($data)
8 8
     {
9
-        $arrayOfLabeledPrice = [];
9
+        $arrayOfLabeledPrice = [ ];
10 10
         foreach ($data as $labeledPrice) {
11
-            $arrayOfLabeledPrice[] = LabeledPrice::fromResponse($labeledPrice);
11
+            $arrayOfLabeledPrice[ ] = LabeledPrice::fromResponse($labeledPrice);
12 12
         }
13 13
 
14 14
         return $arrayOfLabeledPrice;
Please login to merge, or discard this patch.
src/Types/Payments/LabeledPrice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = ['label', 'amount'];
18
+    static protected $requiredParams = [ 'label', 'amount' ];
19 19
 
20 20
     /**
21 21
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/Query/PreCheckoutQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * @var array
21 21
      */
22
-    static protected $requiredParams = ['id', 'from', 'currency', 'total_amount', 'invoice_payload'];
22
+    static protected $requiredParams = [ 'id', 'from', 'currency', 'total_amount', 'invoice_payload' ];
23 23
 
24 24
     /**
25 25
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/Query/AnswerPreCheckoutQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * @var array
18 18
      */
19
-    static protected $requiredParams = ['pre_checkout_query_id', 'ok'];
19
+    static protected $requiredParams = [ 'pre_checkout_query_id', 'ok' ];
20 20
 
21 21
     /**
22 22
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/Query/AnswerShippingQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * @var array
19 19
      */
20
-    static protected $requiredParams = ['shipping_query_id', 'ok'];
20
+    static protected $requiredParams = [ 'shipping_query_id', 'ok' ];
21 21
 
22 22
     /**
23 23
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/Query/ShippingQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * @var array
20 20
      */
21
-    static protected $requiredParams = ['id', 'from', 'invoice_payload', 'shipping_address'];
21
+    static protected $requiredParams = [ 'id', 'from', 'invoice_payload', 'shipping_address' ];
22 22
 
23 23
     /**
24 24
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Payments/OrderInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = [];
18
+    static protected $requiredParams = [ ];
19 19
 
20 20
     /**
21 21
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/ShippingOption.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = ['id', 'title', 'prices'];
18
+    static protected $requiredParams = [ 'id', 'title', 'prices' ];
19 19
 
20 20
     /**
21 21
      * @var array
Please login to merge, or discard this patch.