@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | |
138 | 138 | protected function resolveRequireEnv($idx, $module) |
139 | 139 | { |
140 | - $envMethod = 'require' . str_replace(' ', '', ucwords( |
|
140 | + $envMethod = 'require'.str_replace(' ', '', ucwords( |
|
141 | 141 | strtolower(str_replace('_', ' ', trim($this->environment))) |
142 | 142 | )); |
143 | 143 | if ('require' !== $envMethod && method_exists($module, $envMethod)) { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | $module = new $module($this); |
186 | 186 | } |
187 | 187 | |
188 | - if (! $module instanceof ModuleInterface) { |
|
188 | + if (!$module instanceof ModuleInterface) { |
|
189 | 189 | throw new \InvalidArgumentException( |
190 | 190 | 'Modules must implement ModuleInterface' |
191 | 191 | ); |