Passed
Pull Request — master (#159)
by Zing
13:10
created
src/Commands/SmsSwitchConnectionCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         }
79 79
 
80 80
         $path = $this->envPath();
81
-        if (! file_exists($path)) {
81
+        if (!file_exists($path)) {
82 82
             $this->displayConnection($connection);
83 83
 
84 84
             return;
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     protected function putEnvToFile($connection, $path): bool
101 101
     {
102
-        if (! Str::contains(file_get_contents($path), 'SMS_CONNECTION')) {
102
+        if (!Str::contains(file_get_contents($path), 'SMS_CONNECTION')) {
103 103
             // create new entry
104 104
             file_put_contents($path, PHP_EOL . "SMS_CONNECTION={$connection}" . PHP_EOL, FILE_APPEND);
105 105
             return true;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
             return false;
112 112
         }
113 113
 
114
-        if (! $this->isConfirmed()) {
114
+        if (!$this->isConfirmed()) {
115 115
             $this->comment('Phew... No changes were made to your sms default connection.');
116 116
 
117 117
             return false;
Please login to merge, or discard this patch.