@@ -49,12 +49,12 @@ discard block |
||
49 | 49 | */ |
50 | 50 | public function connect(array $config) |
51 | 51 | { |
52 | - if (! isset($config['driver'])) { |
|
52 | + if (!isset($config['driver'])) { |
|
53 | 53 | throw new InvalidArgumentException('A driver must be specified.'); |
54 | 54 | } |
55 | 55 | |
56 | 56 | $driver = $config['driver']; |
57 | - if (! class_exists($driver) || ! in_array(GatewayInterface::class, class_implements($driver), true)) { |
|
57 | + if (!class_exists($driver) || !in_array(GatewayInterface::class, class_implements($driver), true)) { |
|
58 | 58 | throw new InvalidArgumentException("Unsupported driver [{$config['driver']}]."); |
59 | 59 | } |
60 | 60 | |
@@ -84,8 +84,8 @@ discard block |
||
84 | 84 | */ |
85 | 85 | protected function formatMessage($message) |
86 | 86 | { |
87 | - if (! ($message instanceof MessageInterface)) { |
|
88 | - if (! is_array($message)) { |
|
87 | + if (!($message instanceof MessageInterface)) { |
|
88 | + if (!is_array($message)) { |
|
89 | 89 | $message = [ |
90 | 90 | 'content' => $message, |
91 | 91 | 'template' => $message, |