@@ -93,7 +93,7 @@ |
||
93 | 93 | $choices[$key + 1] = $seed; |
94 | 94 | } |
95 | 95 | $indexes = $io->choices('Choose which seed to execute', $choices, []); |
96 | - foreach ($indexes as $index){ |
|
96 | + foreach ($indexes as $index) { |
|
97 | 97 | $this->executeSeed($seeds[$index - 1]); |
98 | 98 | } |
99 | 99 | } |
@@ -57,8 +57,7 @@ discard block |
||
57 | 57 | * @template T |
58 | 58 | * @extends AbstractSeedCommand<T> |
59 | 59 | */ |
60 | -class SeedExecuteCommand extends AbstractSeedCommand |
|
61 | -{ |
|
60 | +class SeedExecuteCommand extends AbstractSeedCommand { |
|
62 | 61 | |
63 | 62 | /** |
64 | 63 | * Create new instance |
@@ -77,8 +76,7 @@ discard block |
||
77 | 76 | /** |
78 | 77 | * {@inheritodc} |
79 | 78 | */ |
80 | - public function execute() |
|
81 | - { |
|
79 | + public function execute() { |
|
82 | 80 | $io = $this->io(); |
83 | 81 | $writer = $io->writer(); |
84 | 82 | $writer->boldYellow('SEED EXECUTION', true)->eol(); |
@@ -93,7 +91,7 @@ discard block |
||
93 | 91 | $choices[$key + 1] = $seed; |
94 | 92 | } |
95 | 93 | $indexes = $io->choices('Choose which seed to execute', $choices, []); |
96 | - foreach ($indexes as $index){ |
|
94 | + foreach ($indexes as $index) { |
|
97 | 95 | $this->executeSeed($seeds[$index - 1]); |
98 | 96 | } |
99 | 97 | } |