Passed
Push — develop ( 256307...547db1 )
by nguereza
02:28
created
src/Migration/Seed/Command/SeedExecuteCommand.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
Braces   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.