|
@@ -139,7 +139,7 @@ discard block |
|
|
block discarded – undo |
|
139
|
139
|
|
|
140
|
140
|
protected function resolveRequireEnv($idx, ModuleInterface $module) |
|
141
|
141
|
{ |
|
142
|
|
- $envMethod = 'require' . str_replace(' ', '', ucwords( |
|
|
142
|
+ $envMethod = 'require'.str_replace(' ', '', ucwords( |
|
143
|
143
|
strtolower(str_replace('_', ' ', trim($this->environment))) |
|
144
|
144
|
)); |
|
145
|
145
|
if ('require' !== $envMethod && method_exists($module, $envMethod)) { |
|
@@ -187,7 +187,7 @@ discard block |
|
|
block discarded – undo |
|
187
|
187
|
$module = new $module($this); |
|
188
|
188
|
} |
|
189
|
189
|
|
|
190
|
|
- if (! $module instanceof ContainerConfigInterface) { |
|
|
190
|
+ if (!$module instanceof ContainerConfigInterface) { |
|
191
|
191
|
throw new \InvalidArgumentException( |
|
192
|
192
|
'Modules must implement ModuleInterface or ContainerConfigInterface' |
|
193
|
193
|
); |
Please login to merge, or discard this patch.