Completed
Pull Request — master (#166)
by Josh
12:20
created
src/Commands/GeneratorCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,11 +86,11 @@
 block discarded – undo
86 86
 
87 87
         $namespace = $this->laravel['modules']->config('namespace');
88 88
 
89
-        $namespace .= '\\' . $module->getStudlyName();
89
+        $namespace .= '\\'.$module->getStudlyName();
90 90
 
91
-        $namespace .= '\\' . $this->getDefaultNamespace();
91
+        $namespace .= '\\'.$this->getDefaultNamespace();
92 92
 
93
-        $namespace .= '\\' . $extra;
93
+        $namespace .= '\\'.$extra;
94 94
 
95 95
         return trim($namespace, '\\');
96 96
     }
Please login to merge, or discard this patch.
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.