Completed
Push — master ( e18bfc...e7edc5 )
by Joao
05:20
created
src/Omnipay/Komerci/Message/WSAuthorizeResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
     public function getValidUntil()
86 86
     {
87
-        return isset($this->data['DATA_EXPI']) ? substr($this->data['DATA_EXPI'], 0, 4) . '-' . substr($this->data['DATA_EXPI'], 4, 2) . '-' . substr($this->data['DATA_EXPI'], 6) : '';
87
+        return isset($this->data['DATA_EXPI']) ? substr($this->data['DATA_EXPI'], 0, 4).'-'.substr($this->data['DATA_EXPI'], 4, 2).'-'.substr($this->data['DATA_EXPI'], 6) : '';
88 88
     }
89 89
 
90 90
 }
Please login to merge, or discard this patch.
src/Omnipay/Komerci/Message/WSConfPreAuthResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     public function getSalesSlip($delimeter = "\n", $begin = '', $end = '')
39 39
     {
40
-        return $begin . str_replace('@', $delimeter, urldecode(substr($this->getMessage(), 1))) . $end;
40
+        return $begin.str_replace('@', $delimeter, urldecode(substr($this->getMessage(), 1))).$end;
41 41
     }
42 42
 
43 43
     public function getTransactionReference()
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     {
66 66
         $result = [];
67 67
         preg_match('/\+VALOR:\+*?(?<int>[\d\.]*?),(?<dec>\d*?)@/', $this->getMessage(), $result);
68
-        return isset($result['int']) ? floatval(str_replace('.', '', $result['int']) . '.' . $result['dec']) : null;
68
+        return isset($result['int']) ? floatval(str_replace('.', '', $result['int']).'.'.$result['dec']) : null;
69 69
     }
70 70
 
71 71
 
Please login to merge, or discard this patch.
src/Omnipay/Komerci/BaseRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public function getEndpoint($method)
16 16
     {
17
-        return $this->getTestMode() ? $this->endpointTest . $method . "Tst" : $this->endpoint . $method;
17
+        return $this->getTestMode() ? $this->endpointTest.$method."Tst" : $this->endpoint.$method;
18 18
     }
19 19
 
20 20
     public function getApiKey()
Please login to merge, or discard this patch.