Browse Source

Minor phpdoc fixes

Markus Staab 12 years ago
parent
commit
100a1b01f2
1 changed files with 8 additions and 5 deletions
  1. 8 5
      src/Monolog/Logger.php

+ 8 - 5
src/Monolog/Logger.php

@@ -107,12 +107,15 @@ class Logger implements LoggerInterface
      */
     protected static $timezone;
 
+    /**
+     * @var string
+     */
     protected $name;
 
     /**
      * The handler stack
      *
-     * @var array of Monolog\Handler\HandlerInterface
+     * @var HandlerInterface[]
      */
     protected $handlers;
 
@@ -121,14 +124,14 @@ class Logger implements LoggerInterface
      *
      * To process records of a single handler instead, add the processor on that specific handler
      *
-     * @var array of callables
+     * @var callable[]
      */
     protected $processors;
 
     /**
-     * @param string $name       The logging channel
-     * @param array  $handlers   Optional stack of handlers, the first one in the array is called first, etc.
-     * @param array  $processors Optional array of processors
+     * @param string $name        The logging channel
+     * @param HandlerInterface[]  $handlers   Optional stack of handlers, the first one in the array is called first, etc.
+     * @param callable[]          $processors Optional array of processors
      */
     public function __construct($name, array $handlers = array(), array $processors = array())
     {