Test Failed
Branch master (f64e60)
by Miroslaw
04:20
created
src/Commands/EnvGetCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,14 +69,14 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function handle()
71 71
     {
72
-        $this->key = (string)$this->argument('key');
72
+        $this->key = (string) $this->argument('key');
73 73
 
74 74
         if (strlen($this->key)) {
75 75
             $this->isValidKey($this->key);
76 76
         }
77 77
 
78
-        $this->json = (bool)$this->option('json');
79
-        $this->keyValFormat = (bool)$this->option('key-value');
78
+        $this->json = (bool) $this->option('json');
79
+        $this->keyValFormat = (bool) $this->option('key-value');
80 80
         $this->env = new Env();
81 81
 
82 82
         return $this->_printOutput();
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     {
93 93
         $value = ($this->json) ? json_encode($this->env->getKeyValue($this->key)) : ($this->keyValFormat ? $this->env->getKeyValue($this->key) : $this->env->getValue($this->key));
94 94
 
95
-        return($this->json) ? (string)$value : ($this->keyValFormat ? "{$this->key}={$value[$this->key]}" : (string)$value);
95
+        return($this->json) ? (string) $value : ($this->keyValFormat ? "{$this->key}={$value[$this->key]}" : (string) $value);
96 96
     }
97 97
 
98 98
     private function _printOutput(): void
Please login to merge, or discard this patch.