Completed
Push — master ( a7ec8a...6cca5d )
by Nicolas
19s
created
src/Commands/SeedCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $name = $module->getName();
98 98
         $config = $module->get('migration');
99 99
         if (is_array($config) && array_key_exists('seeds', $config)) {
100
-            foreach ((array)$config['seeds'] as $class) {
100
+            foreach ((array) $config['seeds'] as $class) {
101 101
                 if (class_exists($class)) {
102 102
                     $seeders[] = $class;
103 103
                 }
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
     protected function dbSeed($className)
124 124
     {
125 125
         if ($option = $this->option('class')) {
126
-            $params['--class'] = Str::finish(substr($className, 0, strrpos($className, '\\')), '\\') . $option;
126
+            $params['--class'] = Str::finish(substr($className, 0, strrpos($className, '\\')), '\\').$option;
127 127
         } else {
128 128
             $params = ['--class' => $className];
129 129
         }
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $seederPath = GenerateConfigReader::read('seeder');
155 155
         $seederPath = str_replace('/', '\\', $seederPath->getPath());
156 156
 
157
-        return $namespace . '\\' . $name . '\\' . $seederPath . '\\' . $name . 'DatabaseSeeder';
157
+        return $namespace.'\\'.$name.'\\'.$seederPath.'\\'.$name.'DatabaseSeeder';
158 158
     }
159 159
 
160 160
     /**
Please login to merge, or discard this patch.