Completed
Pull Request — master (#46)
by John
04:01
created
src/Commands/SeedCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param $name
68
+     * @param string $name
69 69
      *
70 70
      * @throws RuntimeException
71 71
      *
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $name = $module->getName();
95 95
         $config = $module->get('migration');
96 96
         if (is_array($config) && array_key_exists('seeds', $config)) {
97
-            foreach ((array)$config['seeds'] as $class) {
97
+            foreach ((array) $config['seeds'] as $class) {
98 98
                 if (@class_exists($class)) {
99 99
                     $seeders[] = $class;
100 100
                 }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
 
150 150
         $namespace = $this->laravel['modules']->config('namespace');
151 151
 
152
-        return $namespace . '\\' . $name . '\Database\Seeders\\' . $name . 'DatabaseSeeder';
152
+        return $namespace.'\\'.$name.'\Database\Seeders\\'.$name.'DatabaseSeeder';
153 153
     }
154 154
 
155 155
     /**
Please login to merge, or discard this patch.