Passed
Pull Request — master (#160)
by Zing
09:15 queued 03:33
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(string $connection, string $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
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             return false;
113 113
         }
114 114
 
115
-        if (! $this->isConfirmed()) {
115
+        if (!$this->isConfirmed()) {
116 116
             $this->comment('Phew... No changes were made to your sms default connection.');
117 117
 
118 118
             return false;
Please login to merge, or discard this patch.