@@ -45,8 +45,9 @@ |
||
45 | 45 | { |
46 | 46 | $key = (string)$this->argument('key'); |
47 | 47 | |
48 | - if (strlen($key)) |
|
49 | - $this->isValidKey($key); |
|
48 | + if (strlen($key)) { |
|
49 | + $this->isValidKey($key); |
|
50 | + } |
|
50 | 51 | |
51 | 52 | $json = $this->option('json'); |
52 | 53 | $keyValFormat = $this->option('key-value'); |