Skip to content

Commit

Permalink
Merge pull request #65 from chantron/main
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore authored Feb 18, 2022
2 parents 358fe01 + cc5a9a1 commit d197dc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.4
0.9.1
2 changes: 1 addition & 1 deletion src/Input/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected function parseArgs(string $arg)
*/
protected function parseOptions(string $arg, string $nextArg = null): bool
{
$value = \substr($nextArg, 0, 1) === '-' ? null : $nextArg;
$value = \substr($nextArg ?? '', 0, 1) === '-' ? null : $nextArg;

if (null === $option = $this->optionFor($arg)) {
return $this->handleUnknown($arg, $value);
Expand Down

0 comments on commit d197dc6

Please sign in to comment.