@@ -16,8 +16,7 @@ |
||
16 | 16 | |
17 | 17 | public function __construct( |
18 | 18 | string $merchantId |
19 | - ) |
|
20 | - { |
|
19 | + ) { |
|
21 | 20 | $this->merchantId = $merchantId; |
22 | 21 | } |
23 | 22 |
@@ -23,8 +23,7 @@ |
||
23 | 23 | public function __construct( |
24 | 24 | string $merchantId, |
25 | 25 | string $customerId |
26 | - ) |
|
27 | - { |
|
26 | + ) { |
|
28 | 27 | Validator::checkCustomerId($customerId); |
29 | 28 | |
30 | 29 | $this->merchantId = $merchantId; |
@@ -27,8 +27,7 @@ |
||
27 | 27 | public function __construct( |
28 | 28 | string $merchantId, |
29 | 29 | string $payId |
30 | - ) |
|
31 | - { |
|
30 | + ) { |
|
32 | 31 | Validator::checkPayId($payId); |
33 | 32 | |
34 | 33 | $this->merchantId = $merchantId; |
@@ -26,8 +26,7 @@ |
||
26 | 26 | public function __construct( |
27 | 27 | string $merchantId, |
28 | 28 | string $payId |
29 | - ) |
|
30 | - { |
|
29 | + ) { |
|
31 | 30 | Validator::checkPayId($payId); |
32 | 31 | |
33 | 32 | $this->merchantId = $merchantId; |
@@ -48,8 +48,7 @@ |
||
48 | 48 | int $totalAmount = null, |
49 | 49 | Currency $currency = null, |
50 | 50 | string $description = null |
51 | - ) |
|
52 | - { |
|
51 | + ) { |
|
53 | 52 | Validator::checkOrderId($orderId); |
54 | 53 | if ($description !== null) { |
55 | 54 | Validator::checkDescription($description); |
@@ -31,8 +31,7 @@ |
||
31 | 31 | string $privateKeyFile, |
32 | 32 | string $bankPublicKeyFile, |
33 | 33 | string $privateKeyPassword = '' |
34 | - ) |
|
35 | - { |
|
34 | + ) { |
|
36 | 35 | $this->privateKeyFile = $privateKeyFile; |
37 | 36 | $this->bankPublicKeyFile = $bankPublicKeyFile; |
38 | 37 | $this->privateKeyPassword = $privateKeyPassword; |