@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | protected function resolveRequireEnv($modules, $module) |
93 | 93 | { |
94 | - $envMethod = 'require' . str_replace(' ', '', ucwords( |
|
94 | + $envMethod = 'require'.str_replace(' ', '', ucwords( |
|
95 | 95 | strtolower(str_replace('_', ' ', trim($this->environment))) |
96 | 96 | )); |
97 | 97 | if ('require' !== $envMethod && method_exists($module, $envMethod)) { |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | $module = new $module($this); |
142 | 142 | } |
143 | 143 | |
144 | - if (! $module instanceof ModuleInterface) { |
|
144 | + if (!$module instanceof ModuleInterface) { |
|
145 | 145 | throw new \InvalidArgumentException( |
146 | 146 | 'Modules must implement ModuleInterface' |
147 | 147 | ); |