@@ -86,11 +86,11 @@ |
||
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 | } |
@@ -65,7 +65,7 @@ |
||
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 | /** |
@@ -122,14 +122,14 @@ |
||
122 | 122 | |
123 | 123 | // any JSON parsing errors should throw an exception |
124 | 124 | if (json_last_error() > 0) { |
125 | - throw new \Exception('Error processing file: ' . $this->getPath() . '. Error: ' . json_last_error_msg()); |
|
125 | + throw new \Exception('Error processing file: '.$this->getPath().'. Error: '.json_last_error_msg()); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | if (config('modules.cache.enabled') === false) { |
129 | 129 | return $attributes; |
130 | 130 | } |
131 | 131 | |
132 | - return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () use ($attributes) { |
|
132 | + return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() use ($attributes) { |
|
133 | 133 | return $attributes; |
134 | 134 | }); |
135 | 135 | } |