Simplify test for empty network selection

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Matthew Exon 2021-05-04 13:16:00 +02:00 committed by GitHub
parent 312de957f4
commit 1ce7c337f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}