Simplify test for empty network selection
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
312de957f4
commit
1ce7c337f5
|
@ -159,7 +159,7 @@ HELP;
|
|||
}
|
||||
|
||||
$network = $this->getArgument(3);
|
||||
if (empty($network) && $network !== '') {
|
||||
if ($network === null) {
|
||||
$this->out('Enter network, or leave blank: ');
|
||||
$network = CliPrompt::prompt();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user