Completed
Push — master ( ad55a4...c98fe8 )
by Joachim
01:57
created
src/CallbackHandler.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
         $body = $request->getParsedBody();
20 20
         $body = is_array($body) ? $body : [];
21
-        if(isset($body['xml'])) {
21
+        if (isset($body['xml'])) {
22 22
             $callback = new XmlCallback($request);
23 23
         } else {
24 24
             $callback = new FormCallback($request);
Please login to merge, or discard this patch.
src/Entity/CurrenciesTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
     public function hydrateCurrencies(\SimpleXMLElement $xml)
41 41
     {
42
-        if(!isset($xml->Currencies) || !isset($xml->Currencies->Currency) || empty($xml->Currencies->Currency)) {
42
+        if (!isset($xml->Currencies) || !isset($xml->Currencies->Currency) || empty($xml->Currencies->Currency)) {
43 43
             return;
44 44
         }
45 45
 
Please login to merge, or discard this patch.
src/Entity/CountryOfOrigin.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
     public function hydrateXml(\SimpleXMLElement $xml)
19 19
     {
20
-        if(!isset($xml->CountryOfOrigin)) {
20
+        if (!isset($xml->CountryOfOrigin)) {
21 21
             return;
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/Entity/PaymentNatureService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 
73 73
     public function hydrateXml(\SimpleXMLElement $xml)
74 74
     {
75
-        if(!isset($xml->PaymentNatureService)) {
75
+        if (!isset($xml->PaymentNatureService)) {
76 76
             return;
77 77
         }
78 78
 
Please login to merge, or discard this patch.
src/Entity/CustomerInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     
53 53
     public function hydrateXml(\SimpleXMLElement $xml)
54 54
     {
55
-        if(!isset($xml->CustomerInfo)) {
55
+        if (!isset($xml->CustomerInfo)) {
56 56
             return;
57 57
         }
58 58
 
Please login to merge, or discard this patch.
src/Entity/CreditCardExpiry.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
     public function hydrateXml(\SimpleXMLElement $xml)
19 19
     {
20
-        if(!isset($xml->CreditCardExpiry)) {
20
+        if (!isset($xml->CreditCardExpiry)) {
21 21
             return;
22 22
         }
23 23
 
Please login to merge, or discard this patch.
src/Payload/Payload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public static function simplePayload(array $payload) : array
22 22
     {
23
-        $payload = array_filter($payload, function ($val) {
23
+        $payload = array_filter($payload, function($val) {
24 24
             if ($val instanceof PayloadInterface) {
25 25
                 $val = $val->getPayload();
26 26
             }
Please login to merge, or discard this patch.