Passed
Pull Request — master (#6)
by Miroslaw
06:03
created
src/Commands/EnvDelCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,14 +44,14 @@
 block discarded – undo
44 44
         $key = $this->argument('key');
45 45
 
46 46
         if (!is_null($key)) {
47
-            $this->isValidKey((string)$key);
47
+            $this->isValidKey((string) $key);
48 48
         }
49 49
 
50 50
         $env = new Env();
51
-        if (!$env->exists((string)$key)) {
51
+        if (!$env->exists((string) $key)) {
52 52
             $this->info("There is no variable {$key}");
53 53
         } else {
54
-            $env->deleteVariable((string)$key);
54
+            $env->deleteVariable((string) $key);
55 55
             $this->info("Variable '{$key}' has been deleted");
56 56
         }
57 57
     }
Please login to merge, or discard this patch.