Skip to content

Commit ffd8dca

Browse files
committed
fix: patch up app name array
1 parent 274bb86 commit ffd8dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sprout/App.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function run()
167167
}
168168

169169
foreach ($this->config['commands'][$commandName]['arguments'] as $index => $arg) {
170-
if ($command->getHelp()['arguments'][$arg]['type'] ?? null === 'array') {
170+
if (($command->getHelp()['arguments'][$arg]['type'] ?? null) === 'array') {
171171
$arguments[$arg] = array_slice($commandData['args'], $index);
172172
break;
173173
}

0 commit comments

Comments
 (0)