Completed
Push — master ( 7d5f81...069e15 )
by Jan
02:05
created
src/Call/PaymentButtonResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 		?PaymentStatus $paymentStatus,
62 62
 		?HttpMethod $redirectMethod,
63 63
 		?string $redirectUrl,
64
-		?array $redirectParams
64
+		? array $redirectParams
65 65
 	)
66 66
 	{
67 67
 		Validator::checkPayId($payId);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	/**
115 115
 	 * @return mixed[]|null
116 116
 	 */
117
-	public function getRedirectParams(): ?array
117
+	public function getRedirectParams(): ? array
118 118
 	{
119 119
 		return $this->redirectParams;
120 120
 	}
Please login to merge, or discard this patch.
src/Call/Masterpass/ExtractResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 		ResultCode $resultCode,
52 52
 		string $resultMessage,
53 53
 		?PaymentStatus $paymentStatus,
54
-		?array $checkoutParams
54
+		? array $checkoutParams
55 55
 	)
56 56
 	{
57 57
 		$this->payId = $payId;
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	/**
91 91
 	 * @return mixed[]|null
92 92
 	 */
93
-	public function getCheckoutParams(): ?array
93
+	public function getCheckoutParams(): ? array
94 94
 	{
95 95
 		return $this->checkoutParams;
96 96
 	}
Please login to merge, or discard this patch.
src/Call/Masterpass/CheckoutResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 		ResultCode $resultCode,
53 53
 		string $resultMessage,
54 54
 		?PaymentStatus $paymentStatus,
55
-		?array $lightboxParams
55
+		? array $lightboxParams
56 56
 	)
57 57
 	{
58 58
 		Validator::checkPayId($payId);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 	/**
94 94
 	 * @return mixed[]|null
95 95
 	 */
96
-	public function getLightboxParams(): ?array
96
+	public function getLightboxParams(): ? array
97 97
 	{
98 98
 		return $this->lightboxParams;
99 99
 	}
Please login to merge, or discard this patch.
src/RequestFactory.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 		?int $ttlSec = null,
54 54
 		?int $logoVersion = null,
55 55
 		?int $colorSchemeVersion = null
56
-	): InitPaymentRequest
56
+	) : InitPaymentRequest
57 57
 	{
58 58
 		return new InitPaymentRequest(
59 59
 			$this->merchantId,
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 		);
99 99
 	}
100 100
 
101
-	public function createClosePayment(string $payId, ?int $totalAmount = null): ClosePaymentRequest
101
+	public function createClosePayment(string $payId, ?int $totalAmount = null) : ClosePaymentRequest
102 102
 	{
103 103
 		return new ClosePaymentRequest(
104 104
 			$this->merchantId,
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 		);
108 108
 	}
109 109
 
110
-	public function createRefundPayment(string $payId, ?int $amount = null): RefundPaymentRequest
110
+	public function createRefundPayment(string $payId, ?int $amount = null) : RefundPaymentRequest
111 111
 	{
112 112
 		return new RefundPaymentRequest(
113 113
 			$this->merchantId,
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 		string $orderId,
149 149
 		?Price $price = null,
150 150
 		?string $description = null
151
-	): OneclickInitPaymentRequest
151
+	) : OneclickInitPaymentRequest
152 152
 	{
153 153
 		return new OneclickInitPaymentRequest(
154 154
 			$this->merchantId,
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
 		);
191 191
 	}
192 192
 
193
-	public function createMasterpassStandardCheckoutRequest(string $payId, string $callbackUrl, ?string $shippingLocationProfile = null): StandardCheckoutRequest
193
+	public function createMasterpassStandardCheckoutRequest(string $payId, string $callbackUrl, ?string $shippingLocationProfile = null) : StandardCheckoutRequest
194 194
 	{
195 195
 		return new StandardCheckoutRequest($this->merchantId, $payId, $callbackUrl, $shippingLocationProfile);
196 196
 	}
Please login to merge, or discard this patch.