Passed
Pull Request — master (#28)
by Manuel
09:19
created
lib/SaferpayJson/Request/Container/AddressForm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * @var array<string>|null
30 30
      * @SerializedName("MandatoryFields")
31 31
      */
32
-    private $mandatoryFields = [];
32
+    private $mandatoryFields = [ ];
33 33
 
34 34
     public function __construct(bool $display = true)
35 35
     {
Please login to merge, or discard this patch.
lib/SaferpayJson/Request/Container/PendingNotification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      * @var array<string>|null
11 11
      * @SerializedName("MerchantEmails")
12 12
      */
13
-    private $merchantEmails = [];
13
+    private $merchantEmails = [ ];
14 14
 
15 15
     /**
16 16
      * @var string|null
Please login to merge, or discard this patch.
lib/SaferpayJson/Request/Container/Notification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      * @var array<string>|null
11 11
      * @SerializedName("MerchantEmails")
12 12
      */
13
-    private $merchantEmails = [];
13
+    private $merchantEmails = [ ];
14 14
 
15 15
     /**
16 16
      * @var string|null
Please login to merge, or discard this patch.
lib/SaferpayJson/Response/ErrorResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * @SerializedName("ErrorDetail")
46 46
      * @Type("array")
47 47
      */
48
-    private $errorDetail = [];
48
+    private $errorDetail = [ ];
49 49
 
50 50
     /**
51 51
      * @var string|null
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-insert.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
 // -----------------------------
59 59
 // Step 5:
60 60
 // Redirect to the payment page
61
-echo 'Redirect to: ' . $response->getRedirect()->getRedirectUrl() ."<br>\n";
61
+echo 'Redirect to: ' . $response->getRedirect()->getRedirectUrl() . "<br>\n";
62 62
 
63 63
 // -----------------------------
64 64
 // Step 6:
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-insert-assert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,4 +42,4 @@
 block discarded – undo
42 42
     die ($e->getErrorResponse()->getErrorMessage());
43 43
 }
44 44
 
45
-echo 'The insert has been successful! Alias id: ' . $response->getAlias()->getId()."<br>\n";
45
+echo 'The insert has been successful! Alias id: ' . $response->getAlias()->getId() . "<br>\n";
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-insert-direct.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,5 +53,5 @@
 block discarded – undo
53 53
     die ($e->getErrorResponse()->getErrorMessage());
54 54
 }
55 55
 
56
-echo 'The insert has been successful! Alias id: ' . $response->getAlias()->getId()."<br>\n";
56
+echo 'The insert has been successful! Alias id: ' . $response->getAlias()->getId() . "<br>\n";
57 57
 
Please login to merge, or discard this patch.
example/SecureCardData/example-alias-update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,4 +52,4 @@
 block discarded – undo
52 52
     die ($e->getErrorResponse()->getErrorMessage());
53 53
 }
54 54
 
55
-echo 'The update has been successful! Alias id: ' . $response->getAlias()->getId()."<br>\n";
55
+echo 'The update has been successful! Alias id: ' . $response->getAlias()->getId() . "<br>\n";
Please login to merge, or discard this patch.
example/PaymentPage/example-assert.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     die ($e->getErrorResponse()->getErrorMessage());
43 43
 }
44 44
 
45
-echo 'The transaction has been successful! Transaction id: ' . $response->getTransaction()->getId()."\n";
45
+echo 'The transaction has been successful! Transaction id: ' . $response->getTransaction()->getId() . "\n";
46 46
 
47 47
 // -----------------------------
48 48
 // Step 4:
Please login to merge, or discard this patch.