Completed
Push — master ( 7d5f81...069e15 )
by Jan
02:05
created
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.