@@ -414,7 +414,8 @@ |
||
414 | 414 | |
415 | 415 | // @codingStandardsIgnoreStart |
416 | 416 | $extensions = [ |
417 | - 'foo' => new class implements \SlevomatCsobGateway\Call\ResponseExtensionHandler { |
|
417 | + 'foo' => new class implements \SlevomatCsobGateway\Call\ResponseExtensionHandler |
|
418 | + { |
|
418 | 419 | |
419 | 420 | public function createResponse(array $decodeData): \stdClass |
420 | 421 | { |
@@ -34,8 +34,7 @@ |
||
34 | 34 | array $data = null, |
35 | 35 | array $headers = [], |
36 | 36 | array $extensions = [] |
37 | - ) |
|
38 | - { |
|
37 | + ) { |
|
39 | 38 | $this->responseCode = $responseCode; |
40 | 39 | $this->data = $data; |
41 | 40 | $this->headers = $headers; |
@@ -33,8 +33,7 @@ |
||
33 | 33 | ApiClientDriver $driver, |
34 | 34 | CryptoService $cryptoService, |
35 | 35 | string $apiUrl = null |
36 | - ) |
|
37 | - { |
|
36 | + ) { |
|
38 | 37 | $this->driver = $driver; |
39 | 38 | $this->cryptoService = $cryptoService; |
40 | 39 | $this->apiUrl = $apiUrl; |
@@ -23,8 +23,7 @@ |
||
23 | 23 | public function __construct( |
24 | 24 | string $merchantId, |
25 | 25 | string $payId |
26 | - ) |
|
27 | - { |
|
26 | + ) { |
|
28 | 27 | Validator::checkPayId($payId); |
29 | 28 | |
30 | 29 | $this->merchantId = $merchantId; |
@@ -29,8 +29,7 @@ |
||
29 | 29 | string $merchantId, |
30 | 30 | string $payId, |
31 | 31 | int $amount = null |
32 | - ) |
|
33 | - { |
|
32 | + ) { |
|
34 | 33 | Validator::checkPayId($payId); |
35 | 34 | |
36 | 35 | $this->merchantId = $merchantId; |
@@ -87,8 +87,7 @@ |
||
87 | 87 | string $merchantData = null, |
88 | 88 | string $customerId = null, |
89 | 89 | Language $language = null |
90 | - ) |
|
91 | - { |
|
90 | + ) { |
|
92 | 91 | Validator::checkOrderId($orderId); |
93 | 92 | Validator::checkReturnUrl($returnUrl); |
94 | 93 | Validator::checkDescription($description); |
@@ -25,8 +25,7 @@ |
||
25 | 25 | public function __construct( |
26 | 26 | string $merchantId, |
27 | 27 | string $payId |
28 | - ) |
|
29 | - { |
|
28 | + ) { |
|
30 | 29 | Validator::checkPayId($payId); |
31 | 30 | |
32 | 31 | $this->merchantId = $merchantId; |
@@ -26,8 +26,7 @@ |
||
26 | 26 | DateTimeImmutable $responseDateTime, |
27 | 27 | ResultCode $resultCode, |
28 | 28 | string $resultMessage |
29 | - ) |
|
30 | - { |
|
29 | + ) { |
|
31 | 30 | $this->responseDateTime = $responseDateTime; |
32 | 31 | $this->resultCode = $resultCode; |
33 | 32 | $this->resultMessage = $resultMessage; |
@@ -33,8 +33,7 @@ |
||
33 | 33 | ResultCode $resultCode, |
34 | 34 | string $resultMessage, |
35 | 35 | string $customerId = null |
36 | - ) |
|
37 | - { |
|
36 | + ) { |
|
38 | 37 | Validator::checkCustomerId($customerId); |
39 | 38 | |
40 | 39 | $this->responseDateTime = $responseDateTime; |