Completed
Push — master ( 1ed802...c2e7e3 )
by Josef
02:51
created
src/Call/InitPaymentRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 			'closePayment' => $this->closePayment,
144 144
 			'returnUrl' => $this->returnUrl,
145 145
 			'returnMethod' => $this->returnMethod->getValue(),
146
-			'cart' => array_map(function (CartItem $cartItem) {
146
+			'cart' => array_map(function(CartItem $cartItem) {
147 147
 				$cartItemValues = [
148 148
 					'name' => $cartItem->getName(),
149 149
 					'quantity' => $cartItem->getQuantity(),
Please login to merge, or discard this patch.
src/Api/Driver/GuzzleDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 			$responseCode = new ResponseCode($httpResponse->getStatusCode());
48 48
 
49
-			$responseHeaders = array_map(function ($item) {
49
+			$responseHeaders = array_map(function($item) {
50 50
 				return !is_array($item) || count($item) > 1 ? $item : array_shift($item);
51 51
 			}, $httpResponse->getHeaders());
52 52
 
Please login to merge, or discard this patch.
src/Call/ProcessPaymentRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 				'paymentStatus' => null,
63 63
 				'authCode' => null,
64 64
 			]),
65
-			function (Response $response) {
65
+			function(Response $response) {
66 66
 				// This handles edge case when provided payId is missing or already expired on gateway
67 67
 				// In this case gateway responds with HTTP 200 and HTML content. Bad API.
68 68
 				// See https://github.com/csob/paymentgateway/issues/135
Please login to merge, or discard this patch.