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 273fd29 commit 6e654c0Copy full SHA for 6e654c0
Input/ArgvInput.php
@@ -176,7 +176,7 @@ private function parseArgument(string $token): void
176
} else {
177
$all = $this->definition->getArguments();
178
$symfonyCommandName = null;
179
- if (($inputArgument = $all[$key = array_key_first($all)] ?? null) && 'command' === $inputArgument->getName()) {
+ if (($inputArgument = $all[$key = array_key_first($all) ?? ''] ?? null) && 'command' === $inputArgument->getName()) {
180
$symfonyCommandName = $this->arguments['command'] ?? null;
181
unset($all[$key]);
182
}
0 commit comments