@@ -22,7 +22,7 @@ |
||
| 22 | 22 | { |
| 23 | 23 | parent::__construct($gateway, $data); |
| 24 | 24 | |
| 25 | - if (! $this->validate()) { |
|
| 25 | + if (!$this->validate()) { |
|
| 26 | 26 | throw new SignatureValidateException; |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | { |
| 58 | 58 | $gateway = mb_strtolower($gateway); |
| 59 | 59 | |
| 60 | - if (! isset($this->created[$gateway])) { |
|
| 60 | + if (!isset($this->created[$gateway])) { |
|
| 61 | 61 | $this->created[$gateway] = $this->createGateway($gateway); |
| 62 | 62 | } |
| 63 | 63 | |
@@ -90,13 +90,13 @@ discard block |
||
| 90 | 90 | */ |
| 91 | 91 | protected function createGateway(string $gateway): Gateway |
| 92 | 92 | { |
| 93 | - if (! isset($this->gateways[$gateway])) { |
|
| 93 | + if (!isset($this->gateways[$gateway])) { |
|
| 94 | 94 | throw new InvalidArgumentException("Gateway [{$gateway}] was not found."); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | $implementation = $this->gateways[$gateway]; |
| 98 | 98 | |
| 99 | - if (! class_exists($implementation)) { |
|
| 99 | + if (!class_exists($implementation)) { |
|
| 100 | 100 | throw new RuntimeException("Class [{$implementation}] was not found."); |
| 101 | 101 | } |
| 102 | 102 | |