@@ -73,8 +73,9 @@ |
||
73 | 73 | { |
74 | 74 | $this->key = (string)$this->argument('key'); |
75 | 75 | |
76 | - if (strlen($this->key)) |
|
77 | - $this->isValidKey($this->key); |
|
76 | + if (strlen($this->key)) { |
|
77 | + $this->isValidKey($this->key); |
|
78 | + } |
|
78 | 79 | |
79 | 80 | $this->json = (bool)$this->option('json'); |
80 | 81 | $this->keyValFormat = (bool)$this->option('key-value'); |