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 2af7da2 commit 535ad35Copy full SHA for 535ad35
src/ConsoleApp.php
@@ -30,14 +30,13 @@ public function run(): void
30
$commandFactory = $this->commandFactory;
31
array_reduce(
32
$this->flowSteps,
33
- function($nextCommand, $item) use ($commandFactory) {
+ function ($nextCommand, $item) use ($commandFactory) {
34
$currentCommand = $commandFactory->createCommand($item);
35
$nextCommand = $currentCommand->execute($nextCommand);
36
37
return $nextCommand;
38
},
39
$this->initCommand
40
);
41
-
42
}
43
0 commit comments