@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | public function connect(array $config): self |
| 47 | 47 | { |
| 48 | - if (! isset($config['driver'])) { |
|
| 48 | + if (!isset($config['driver'])) { |
|
| 49 | 49 | throw new InvalidArgumentException('A driver must be specified.'); |
| 50 | 50 | } |
| 51 | 51 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | protected function resolveDriver(string $driverClass, array $config): GatewayInterface |
| 65 | 65 | { |
| 66 | 66 | if ( |
| 67 | - ! class_exists($driverClass) || ! \in_array( |
|
| 67 | + !class_exists($driverClass) || !\in_array( |
|
| 68 | 68 | GatewayInterface::class, |
| 69 | 69 | (array) class_implements($driverClass), |
| 70 | 70 | true |
@@ -93,8 +93,8 @@ discard block |
||
| 93 | 93 | */ |
| 94 | 94 | protected function formatMessage($message): MessageInterface |
| 95 | 95 | { |
| 96 | - if (! ($message instanceof MessageInterface)) { |
|
| 97 | - if (! \is_array($message)) { |
|
| 96 | + if (!($message instanceof MessageInterface)) { |
|
| 97 | + if (!\is_array($message)) { |
|
| 98 | 98 | $message = [ |
| 99 | 99 | 'content' => $message, |
| 100 | 100 | 'template' => $message, |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | 'content' => strpos($content, '【') === 0 ? $content : $signature . $content, |
| 40 | 40 | ] |
| 41 | 41 | ); |
| 42 | - if (! \is_string($result)) { |
|
| 42 | + if (!\is_string($result)) { |
|
| 43 | 43 | throw new CouldNotSendNotification('meilian response does only seem to accept string.'); |
| 44 | 44 | } |
| 45 | 45 | |