@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | $path = $this->envPath(); |
| 70 | - if (! file_exists($path)) { |
|
| 70 | + if (!file_exists($path)) { |
|
| 71 | 71 | $this->displayConnection($connection); |
| 72 | 72 | |
| 73 | 73 | return; |
@@ -88,14 +88,14 @@ discard block |
||
| 88 | 88 | */ |
| 89 | 89 | protected function putEnvToFile($connection, $path): bool |
| 90 | 90 | { |
| 91 | - if (! Str::contains(file_get_contents($path), 'SMS_CONNECTION')) { |
|
| 91 | + if (!Str::contains(file_get_contents($path), 'SMS_CONNECTION')) { |
|
| 92 | 92 | // create new entry |
| 93 | 93 | file_put_contents($path, PHP_EOL . "SMS_CONNECTION={$connection}" . PHP_EOL, FILE_APPEND); |
| 94 | 94 | } elseif ($this->option('always-no')) { |
| 95 | 95 | $this->comment('Sms default connection already exists. Skipping...'); |
| 96 | 96 | |
| 97 | 97 | return false; |
| 98 | - } elseif (! $this->isConfirmed()) { |
|
| 98 | + } elseif (!$this->isConfirmed()) { |
|
| 99 | 99 | $this->comment('Phew... No changes were made to your sms default connection.'); |
| 100 | 100 | |
| 101 | 101 | return false; |