@@ -15,7 +15,7 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function make(array $config) |
| 17 | 17 | { |
| 18 | - if (! isset($config['driver'])) { |
|
| 18 | + if (!isset($config['driver'])) { |
|
| 19 | 19 | throw new InvalidArgumentException('A driver must be specified.'); |
| 20 | 20 | } |
| 21 | 21 | $driver = $config['driver']; |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | foreach (explode('.', $key) as $segment) { |
| 48 | - if (! is_array($config) || ! array_key_exists($segment, $config)) { |
|
| 48 | + if (!is_array($config) || !array_key_exists($segment, $config)) { |
|
| 49 | 49 | return $default; |
| 50 | 50 | } |
| 51 | 51 | $config = $config[$segment]; |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | */ |
| 156 | 156 | protected function useAsCallable($value): bool |
| 157 | 157 | { |
| 158 | - return ! is_string($value) && is_callable($value); |
|
| 158 | + return !is_string($value) && is_callable($value); |
|
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | /** |
@@ -36,13 +36,13 @@ |
||
| 36 | 36 | { |
| 37 | 37 | $message = $this->getData($notifiable, $notification); |
| 38 | 38 | $receiver = $this->resolveReceiver($notifiable, $notification); |
| 39 | - if (! $receiver) { |
|
| 39 | + if (!$receiver) { |
|
| 40 | 40 | return; |
| 41 | 41 | } |
| 42 | 42 | if (is_string($message)) { |
| 43 | 43 | $message = Message::text($message); |
| 44 | 44 | } |
| 45 | - if (! $message instanceof Message) { |
|
| 45 | + if (!$message instanceof Message) { |
|
| 46 | 46 | return; |
| 47 | 47 | } |
| 48 | 48 | |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | 'content' => strpos($content, '【') === 0 ? $content : $signature . $content, |
| 37 | 37 | ] |
| 38 | 38 | ); |
| 39 | - if (! is_string($result)) { |
|
| 39 | + if (!is_string($result)) { |
|
| 40 | 40 | throw new CouldNotSendNotification('meilian response does only seem to accept string.'); |
| 41 | 41 | } |
| 42 | 42 | if (strpos($result, 'error') !== false) { |