We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69e5c9f commit 38494d4Copy full SHA for 38494d4
src/CliArgs/CliArgs.php
@@ -148,7 +148,7 @@ public function getArg($arg)
148
$value = $arguments[$cfg['key']];
149
} elseif ($this->isFlagExists($cfg['alias'])) {
150
$value = $arguments[$cfg['alias']];
151
- } elseif ($cfg['default']) {
+ } elseif (isset($cfg['default'])) {
152
return $cfg['default'];
153
} else {
154
return null;
0 commit comments