Completed
Push — 0.x ( 7dff88...0d9d7c )
by Andrew
02:09
created
src/ModuleLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.