Passed
Pull Request — master (#63)
by Zing
07:07
created
src/Commands/SmsSwitchConnectionCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             return;
67 67
         }
68 68
 
69
-        if (! file_exists($path = $this->envPath())) {
69
+        if (!file_exists($path = $this->envPath())) {
70 70
             $this->displayConnection($connection);
71 71
 
72 72
             return;
@@ -87,14 +87,14 @@  discard block
 block discarded – undo
87 87
      */
88 88
     protected function putEnvToFile($connection, $path): bool
89 89
     {
90
-        if (! Str::contains(file_get_contents($path), 'SMS_CONNECTION')) {
90
+        if (!Str::contains(file_get_contents($path), 'SMS_CONNECTION')) {
91 91
             // create new entry
92 92
             file_put_contents($path, PHP_EOL . "SMS_CONNECTION={$connection}" . PHP_EOL, FILE_APPEND);
93 93
         } elseif ($this->option('always-no')) {
94 94
             $this->comment('Sms default connection already exists. Skipping...');
95 95
 
96 96
             return false;
97
-        } elseif (! $this->isConfirmed()) {
97
+        } elseif (!$this->isConfirmed()) {
98 98
             $this->comment('Phew... No changes were made to your sms default connection.');
99 99
 
100 100
             return false;
Please login to merge, or discard this patch.