@@ -9,7 +9,6 @@ |
||
9 | 9 | use Closure; |
10 | 10 | use Exception; |
11 | 11 | use Interop\Container\ContainerInterface; |
12 | -use Monolog\Formatter\LineFormatter; |
|
13 | 12 | use Monolog\Handler\HandlerInterface; |
14 | 13 | use Monolog\Logger; |
15 | 14 | use Monolog\Formatter\FormatterInterface; |
@@ -117,7 +117,7 @@ |
||
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()])) { |