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

@@ -23,6 +23,8 @@ interface ProcessableHandlerInterface
/**
* Adds a processor in the stack.
*
* @psalm-param ProcessorInterface|callable(array): array $callback
*
* @param ProcessorInterface|callable $callback
* @return HandlerInterface self
*/
@@ -31,6 +33,8 @@ interface ProcessableHandlerInterface
/**
* Removes the processor on top of the stack and returns it.
*
* @psalm-return callable(array): array
*
* @throws \LogicException In case the processor stack is empty
* @return callable
*/