@@ -60,6 +60,9 @@ discard block |
||
| 60 | 60 | return $this->createLogger($container, $requestedName); |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | + /** |
|
| 64 | + * @param ContainerInterface $container |
|
| 65 | + */ |
|
| 63 | 66 | private function createLogger($container, $requestedName) |
| 64 | 67 | { |
| 65 | 68 | $config = $this->getConfig($container); |
@@ -70,7 +73,7 @@ discard block |
||
| 70 | 73 | |
| 71 | 74 | /** |
| 72 | 75 | * @param ServiceLocatorInterface|ContainerInterface $container |
| 73 | - * @return array |
|
| 76 | + * @return ContainerInterface |
|
| 74 | 77 | */ |
| 75 | 78 | public function getConfig($container) |
| 76 | 79 | { |
@@ -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; |