Skip to content

Commit

Permalink
Fix CS/WS issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 15, 2020
1 parent ad7a995 commit bb13fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.php
Expand Up @@ -194,7 +194,7 @@ private function parseLongOption(string $argument, array $longOptions, array &$o
throw new OptionDoesNotAllowArgumentException('--' . $option);
}

$fullOption = '--' . preg_replace('/={1,2}$/', '', $longOption);
$fullOption = '--' . preg_replace('/={1,2}$/', '', $longOption);
$options[] = [$fullOption, $optionArgument];

return;
Expand Down

0 comments on commit bb13fce

Please sign in to comment.