Passed
Pull Request — master (#23)
by
unknown
01:11
created
src/Method/Payment/Create.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -174,9 +174,15 @@
 block discarded – undo
174 174
                 'message' => 'The value {{ value }} is not a valid {{ type }}.'
175 175
             ]),
176 176
         ];
177
-        if ($isRequired) array_unshift($inside_array, new Assert\NotBlank());
178
-        if ($length) array_push($inside_array, new Assert\Length($length));
179
-        if ($args) array_push($inside_array, $args);
177
+        if ($isRequired) {
178
+            array_unshift($inside_array, new Assert\NotBlank());
179
+        }
180
+        if ($length) {
181
+            array_push($inside_array, new Assert\Length($length));
182
+        }
183
+        if ($args) {
184
+            array_push($inside_array, $args);
185
+        }
180 186
         
181 187
         return $isRequired 
182 188
             ? new Assert\Required($inside_array)
Please login to merge, or discard this patch.
src/Method/Payment/Payment.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -413,10 +413,10 @@
 block discarded – undo
413 413
         $this->threeDS2AuthorizationInformation = $threeDS2AuthorizationInformation;
414 414
     }
415 415
 
416
-     /**
417
-     * Gets the value of statementDescriptorDuffix.
418
-     * @return mixed
419
-     */
416
+        /**
417
+         * Gets the value of statementDescriptorDuffix.
418
+         * @return mixed
419
+         */
420 420
     public function getStatementDescriptorDuffix()
421 421
     {
422 422
         return $this->statementDescriptorDuffix;
Please login to merge, or discard this patch.