1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-23 09:36:11 +02:00

Static analysis improvements (#1475)

* Static analysis improvements

* Fix review issues
This commit is contained in:
Mponos George
2020-07-08 22:40:29 +03:00
committed by GitHub
parent 84342aa0a3
commit 53e2c97b0b
8 changed files with 20 additions and 1 deletions

View File

@@ -140,6 +140,8 @@ class Logger implements LoggerInterface, ResettableInterface
protected $exceptionHandler;
/**
* @psalm-param array<callable(array): array> $processors
*
* @param string $name The logging channel, a simple descriptive name that is attached to all log records
* @param HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc.
* @param callable[] $processors Optional array of processors