Skip to content

Commit a19b34f

Browse files
authored
Merge pull request #8 from RobinDev/patch-1
Thanks, it will be in the next release.
2 parents 69e5c9f + 38494d4 commit a19b34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CliArgs/CliArgs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getArg($arg)
148148
$value = $arguments[$cfg['key']];
149149
} elseif ($this->isFlagExists($cfg['alias'])) {
150150
$value = $arguments[$cfg['alias']];
151-
} elseif ($cfg['default']) {
151+
} elseif (isset($cfg['default'])) {
152152
return $cfg['default'];
153153
} else {
154154
return null;

0 commit comments

Comments
 (0)