Completed
Pull Request — master (#80)
by
unknown
03:50
created
src/Commands/GenerateMailCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
         $mailPath = $this->laravel['modules']->config('paths.generator.mail');
67 67
 
68
-        return $path . $mailPath . '/' . $this->getFileName() . '.php';
68
+        return $path.$mailPath.'/'.$this->getFileName().'.php';
69 69
     }
70 70
 
71 71
     /**
Please login to merge, or discard this patch.
src/Commands/GenerateNotificationCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 
66 66
         $mailPath = $this->laravel['modules']->config('paths.generator.mail');
67 67
 
68
-        return $path . $mailPath . '/' . $this->getFileName() . '.php';
68
+        return $path.$mailPath.'/'.$this->getFileName().'.php';
69 69
     }
70 70
 
71 71
     /**
Please login to merge, or discard this patch.
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.
src/Commands/PublishConfigurationCommand.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -47,13 +47,13 @@
 block discarded – undo
47 47
     private function publishConfiguration($module)
48 48
     {
49 49
         foreach(Module::get('core')->get('providers') as $provider) {
50
-			$this->call('vendor:publish',
51
-						[
52
-							'--provider' => $provider,
53
-							'--force' => $this->option('force'),
54
-							'--tag' => ['config'],
55
-						]);
56
-		}
50
+            $this->call('vendor:publish',
51
+                        [
52
+                            '--provider' => $provider,
53
+                            '--force' => $this->option('force'),
54
+                            '--tag' => ['config'],
55
+                        ]);
56
+        }
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     private function publishConfiguration($module)
48 48
     {
49
-        foreach(Module::get('core')->get('providers') as $provider) {
49
+        foreach (Module::get('core')->get('providers') as $provider) {
50 50
 			$this->call('vendor:publish',
51 51
 						[
52 52
 							'--provider' => $provider,
Please login to merge, or discard this patch.