1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +02:00

Merge pull request #295 from staabm/patch-5

Minor phpdoc fixes
This commit is contained in:
Jordi Boggiano
2013-12-26 01:33:58 -08:00

View File

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