Browse Source

Simplify test for empty network selection

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
pull/10202/head
Matthew Exon 5 months ago
committed by GitHub
parent
commit
1ce7c337f5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Console/Contact.php

2
src/Console/Contact.php

@ -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…
Cancel
Save