Completed
Push — master ( ad55a4...c98fe8 )
by Joachim
01:57
created
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $baseUrl = $parsedBaseUrl['scheme'].
51 51
             '://'.rawurlencode($this->username).':'.rawurlencode($this->password).'@'.$parsedBaseUrl['host'];
52 52
 
53
-        $this->baseUrl  = $baseUrl;
53
+        $this->baseUrl = $baseUrl;
54 54
     }
55 55
 
56 56
     /**
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
     public function doRequest($method, $uri, array $options = null)
259 259
     {
260 260
         $url = $this->baseUrl.$uri;
261
-        $options = $options ? : [];
261
+        $options = $options ?: [];
262 262
         $defaultOptions = [];
263 263
         $options = array_merge($defaultOptions, $options);
264 264
         $client = $this->getClient();
Please login to merge, or discard this patch.
src/Payload/PaymentRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@
 block discarded – undo
330 330
     /**
331 331
      * @return array
332 332
      */
333
-    public function getTransactionInfo() : ?array
333
+    public function getTransactionInfo() : ? array
334 334
     {
335 335
         return $this->transactionInfo;
336 336
     }
Please login to merge, or discard this patch.
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.