| @@ -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 | |
| @@ -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 | |
| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | public function handle(): void | 
| 72 | 72 |      { | 
| 73 | 73 |          $connection = $this->argument('connection'); | 
| 74 | -        if (! \is_string($connection)) { | |
| 74 | +        if (!\is_string($connection)) { | |
| 75 | 75 | return; | 
| 76 | 76 | } | 
| 77 | 77 | |
| @@ -82,7 +82,7 @@ discard block | ||
| 82 | 82 | } | 
| 83 | 83 | |
| 84 | 84 | $path = $this->envPath(); | 
| 85 | -        if (! file_exists($path)) { | |
| 85 | +        if (!file_exists($path)) { | |
| 86 | 86 | $this->displayConnection($connection); | 
| 87 | 87 | |
| 88 | 88 | return; | 
| @@ -104,7 +104,7 @@ discard block | ||
| 104 | 104 | /** @var string $contents */ | 
| 105 | 105 | $contents = file_get_contents($path); | 
| 106 | 106 | |
| 107 | -        if (! Str::contains($contents, 'SMS_CONNECTION')) { | |
| 107 | +        if (!Str::contains($contents, 'SMS_CONNECTION')) { | |
| 108 | 108 | // create new entry | 
| 109 | 109 |              file_put_contents($path, PHP_EOL . sprintf('SMS_CONNECTION=%s', $connection) . PHP_EOL, FILE_APPEND); | 
| 110 | 110 | |
| @@ -117,7 +117,7 @@ discard block | ||
| 117 | 117 | return false; | 
| 118 | 118 | } | 
| 119 | 119 | |
| 120 | -        if (! $this->isConfirmed()) { | |
| 120 | +        if (!$this->isConfirmed()) { | |
| 121 | 121 |              $this->comment('Phew... No changes were made to your sms default connection.'); | 
| 122 | 122 | |
| 123 | 123 | return false; | 
| @@ -46,7 +46,7 @@ discard block | ||
| 46 | 46 | */ | 
| 47 | 47 | public function connect(array $config): self | 
| 48 | 48 |      { | 
| 49 | -        if (! isset($config['driver'])) { | |
| 49 | +        if (!isset($config['driver'])) { | |
| 50 | 50 |              throw new InvalidArgumentException('A driver must be specified.'); | 
| 51 | 51 | } | 
| 52 | 52 | |
| @@ -65,7 +65,7 @@ discard block | ||
| 65 | 65 | protected function resolveDriver(string $driverClass, array $config): GatewayInterface | 
| 66 | 66 |      { | 
| 67 | 67 | if ( | 
| 68 | - ! class_exists($driverClass) || ! \in_array( | |
| 68 | + !class_exists($driverClass) || !\in_array( | |
| 69 | 69 | GatewayInterface::class, | 
| 70 | 70 | (array) class_implements($driverClass), | 
| 71 | 71 | true | 
| @@ -94,8 +94,8 @@ discard block | ||
| 94 | 94 | */ | 
| 95 | 95 | protected function formatMessage($message): MessageInterface | 
| 96 | 96 |      { | 
| 97 | -        if (! $message instanceof MessageInterface) { | |
| 98 | -            if (! \is_array($message)) { | |
| 97 | +        if (!$message instanceof MessageInterface) { | |
| 98 | +            if (!\is_array($message)) { | |
| 99 | 99 | $message = [ | 
| 100 | 100 | 'content' => $message, | 
| 101 | 101 | 'template' => $message, |