Completed
Pull Request — master (#23)
by Timothy
04:55
created
src/EnliteMonolog/Service/MonologServiceFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
                     throw new RuntimeException(sprintf('Handler(%s) requires at least %d params. Only %d passed.', $handler['name'], $requiredArgsCount, count($handlerOptions)));
118 118
                 }
119 119
 
120
-                foreach($reflection->getConstructor()->getParameters() as $parameter) {
120
+                foreach ($reflection->getConstructor()->getParameters() as $parameter) {
121 121
                     if (!$parameter->isOptional() && !isset($handlerOptions[$parameter->getName()])) {
122 122
                         $argumentValue = array_shift($handlerOptions);
123 123
                     } elseif (isset($handlerOptions[$parameter->getName()])) {
Please login to merge, or discard this patch.