@@ -39,7 +39,7 @@ discard block  | 
                                                    ||
| 39 | 39 |      { | 
                                                        
| 40 | 40 | $message = $this->getData($notifiable, $notification);  | 
                                                        
| 41 | 41 | $receiver = $this->resolveReceiver($notifiable, $notification);  | 
                                                        
| 42 | -        if (! $receiver) { | 
                                                        |
| 42 | +        if (!$receiver) { | 
                                                        |
| 43 | 43 | return;  | 
                                                        
| 44 | 44 | }  | 
                                                        
| 45 | 45 | |
@@ -52,7 +52,7 @@ discard block  | 
                                                    ||
| 52 | 52 | );  | 
                                                        
| 53 | 53 | }  | 
                                                        
| 54 | 54 | |
| 55 | -        if (! $message instanceof SmsMessage) { | 
                                                        |
| 55 | +        if (!$message instanceof SmsMessage) { | 
                                                        |
| 56 | 56 | return;  | 
                                                        
| 57 | 57 | }  | 
                                                        
| 58 | 58 | |
@@ -20,11 +20,11 @@  | 
                                                    ||
| 20 | 20 | |
| 21 | 21 | public function boot(): void  | 
                                                        
| 22 | 22 |      { | 
                                                        
| 23 | -        if (! $this->app->runningInConsole()) { | 
                                                        |
| 23 | +        if (!$this->app->runningInConsole()) { | 
                                                        |
| 24 | 24 | return;  | 
                                                        
| 25 | 25 | }  | 
                                                        
| 26 | 26 | |
| 27 | -        if (! $this->app instanceof Laravel) { | 
                                                        |
| 27 | +        if (!$this->app instanceof Laravel) { | 
                                                        |
| 28 | 28 | return;  | 
                                                        
| 29 | 29 | }  | 
                                                        
| 30 | 30 | |
@@ -36,7 +36,7 @@ discard block  | 
                                                    ||
| 36 | 36 | }  | 
                                                        
| 37 | 37 | |
| 38 | 38 | $issuedCode = $this->cacheManager->get($this->getPrefixedKey($number));  | 
                                                        
| 39 | -        if (! $issuedCode) { | 
                                                        |
| 39 | +        if (!$issuedCode) { | 
                                                        |
| 40 | 40 | return false;  | 
                                                        
| 41 | 41 | }  | 
                                                        
| 42 | 42 | |
@@ -52,7 +52,7 @@ discard block  | 
                                                    ||
| 52 | 52 | }  | 
                                                        
| 53 | 53 | |
| 54 | 54 | $key = $this->getPrefixedKey($number);  | 
                                                        
| 55 | -        if (! $number instanceof SmsNumber) { | 
                                                        |
| 55 | +        if (!$number instanceof SmsNumber) { | 
                                                        |
| 56 | 56 | $number = new SmsNumber($number);  | 
                                                        
| 57 | 57 | }  | 
                                                        
| 58 | 58 | |
@@ -83,7 +83,7 @@ discard block  | 
                                                    ||
| 83 | 83 | }  | 
                                                        
| 84 | 84 | |
| 85 | 85 | $path = $this->envPath();  | 
                                                        
| 86 | -        if (! file_exists($path)) { | 
                                                        |
| 86 | +        if (!file_exists($path)) { | 
                                                        |
| 87 | 87 | $this->displayConnection($connection);  | 
                                                        
| 88 | 88 | |
| 89 | 89 | return;  | 
                                                        
@@ -105,7 +105,7 @@ discard block  | 
                                                    ||
| 105 | 105 | /** @var string $contents */  | 
                                                        
| 106 | 106 | $contents = file_get_contents($path);  | 
                                                        
| 107 | 107 | |
| 108 | -        if (! Str::contains($contents, 'SMS_CONNECTION')) { | 
                                                        |
| 108 | +        if (!Str::contains($contents, 'SMS_CONNECTION')) { | 
                                                        |
| 109 | 109 | // create new entry  | 
                                                        
| 110 | 110 |              file_put_contents($path, PHP_EOL . sprintf('SMS_CONNECTION=%s', $connection) . PHP_EOL, FILE_APPEND); | 
                                                        
| 111 | 111 | |
@@ -118,7 +118,7 @@ discard block  | 
                                                    ||
| 118 | 118 | return false;  | 
                                                        
| 119 | 119 | }  | 
                                                        
| 120 | 120 | |
| 121 | -        if (! $this->isConfirmed()) { | 
                                                        |
| 121 | +        if (!$this->isConfirmed()) { | 
                                                        |
| 122 | 122 |              $this->comment('Phew... No changes were made to your sms default connection.'); | 
                                                        
| 123 | 123 | |
| 124 | 124 | return false;  | 
                                                        
@@ -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 | |