Completed
Pull Request — master (#6)
by Josef
02:28
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.