소스 검색

[MonologBundle] Removed useless variable and fixed phpdoc

Christophe Coevoet 14 년 전
부모
커밋
3d7e68ec1c
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      src/Symfony/Bundle/MonologBundle/DependencyInjection/Compiler/DebugHandlerPass.php

+ 1 - 3
src/Symfony/Bundle/MonologBundle/DependencyInjection/Compiler/DebugHandlerPass.php

@@ -18,14 +18,12 @@ use Symfony\Component\DependencyInjection\Definition;
 use Monolog\Logger;
 
 /**
- * Replaces the default logger by another one with its own channel for tagged services.
+ * Adds the DebugHandler when the profiler is enabled.
  *
  * @author Christophe Coevoet <stof@notk.org>
  */
 class DebugHandlerPass implements CompilerPassInterface
 {
-    protected $channels = array();
-
     public function process(ContainerBuilder $container)
     {
         if (!$container->hasDefinition('monolog.logger_prototype') || !$container->hasDefinition('profiler')) {