Passed
Push — master ( 19792d...3b9f1a )
by Zing
10:49 queued 02:46
created
src/Commands/SmsSwitchConnectionCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.