Completed
Pull Request — master (#218)
by
unknown
03:36
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.emails', 'Emails');
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/Json.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,14 +123,14 @@
 block discarded – undo
123 123
 
124 124
         // any JSON parsing errors should throw an exception
125 125
         if (json_last_error() > 0) {
126
-            throw new InvalidJsonException('Error processing file: ' . $this->getPath() . '. Error: ' . json_last_error_msg());
126
+            throw new InvalidJsonException('Error processing file: '.$this->getPath().'. Error: '.json_last_error_msg());
127 127
         }
128 128
 
129 129
         if (config('modules.cache.enabled') === false) {
130 130
             return $attributes;
131 131
         }
132 132
 
133
-        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () use ($attributes) {
133
+        return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() use ($attributes) {
134 134
             return $attributes;
135 135
         });
136 136
     }
Please login to merge, or discard this patch.
src/Commands/MigrateCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         }
48 48
 
49 49
         foreach ($this->module->getOrdered($this->option('direction')) as $module) {
50
-            $this->line('Running for module: <info>' . $module->getName() . '</info>');
50
+            $this->line('Running for module: <info>'.$module->getName().'</info>');
51 51
 
52 52
             $this->migrate($module);
53 53
         }
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     {
65 65
         $path = str_replace(base_path(), '', (new Migrator($module))->getPath());
66 66
         
67
-        if($this->option('subpath')) {
68
-            $path = $path . "/" . $this->option("subpath");
67
+        if ($this->option('subpath')) {
68
+            $path = $path."/".$this->option("subpath");
69 69
         }
70 70
         
71 71
         $this->call('migrate', [
Please login to merge, or discard this patch.