@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | public function show($identifier) |
19 | 19 | { |
20 | 20 | return $this->get( |
21 | - $this->uriFactory->createUri($this->getBaseUrl() . '/'. $identifier) |
|
21 | + $this->uriFactory->createUri($this->getBaseUrl() . '/' . $identifier) |
|
22 | 22 | ); |
23 | 23 | } |
24 | 24 | |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | { |
34 | 34 | $uri = $this->uriFactory->createUri($this->getBaseUrl()); |
35 | 35 | |
36 | - if (! array_key_exists('amount', $parameters) || |
|
37 | - ! array_key_exists('currency', $parameters) || |
|
38 | - ! array_key_exists('description', $parameters) || |
|
39 | - ! array_key_exists('order_id', $parameters) || |
|
40 | - ! array_key_exists('payment_options', $parameters) || |
|
41 | - ! array_key_exists('type', $parameters) |
|
36 | + if (!array_key_exists('amount', $parameters) || |
|
37 | + !array_key_exists('currency', $parameters) || |
|
38 | + !array_key_exists('description', $parameters) || |
|
39 | + !array_key_exists('order_id', $parameters) || |
|
40 | + !array_key_exists('payment_options', $parameters) || |
|
41 | + !array_key_exists('type', $parameters) |
|
42 | 42 | ) { |
43 | 43 | throw new InvalidRequestException('Missing required parameters.'); |
44 | 44 | } |
@@ -57,9 +57,9 @@ discard block |
||
57 | 57 | { |
58 | 58 | $parameters['type'] = 'direct'; |
59 | 59 | |
60 | - if (! array_key_exists('gateway', $parameters) || |
|
61 | - ! array_key_exists('gateway_info', $parameters) || |
|
62 | - ! array_key_exists('issuer_id', $parameters) |
|
60 | + if (!array_key_exists('gateway', $parameters) || |
|
61 | + !array_key_exists('gateway_info', $parameters) || |
|
62 | + !array_key_exists('issuer_id', $parameters) |
|
63 | 63 | ) { |
64 | 64 | throw new InvalidRequestException('Missing required parameters.'); |
65 | 65 | } |