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 274bb86 commit ffd8dcaCopy full SHA for ffd8dca
1 file changed
src/Sprout/App.php
@@ -167,7 +167,7 @@ public function run()
167
}
168
169
foreach ($this->config['commands'][$commandName]['arguments'] as $index => $arg) {
170
- if ($command->getHelp()['arguments'][$arg]['type'] ?? null === 'array') {
+ if (($command->getHelp()['arguments'][$arg]['type'] ?? null) === 'array') {
171
$arguments[$arg] = array_slice($commandData['args'], $index);
172
break;
173
0 commit comments