1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-24 01:56:18 +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

@@ -47,6 +47,8 @@ class FingersCrossedHandler extends Handler implements ProcessableHandlerInterfa
protected $bubble;
/**
* @psalm-param HandlerInterface|callable(?array, FingersCrossedHandler): HandlerInterface $handler
*
* @param callable|HandlerInterface $handler Handler or factory callable($record|null, $fingersCrossedHandler).
* @param int|string|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action, or a level name/value at which the handler is activated
* @param int $bufferSize How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.