mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-26 02:56:27 +02:00
Fixed forward compatibilty layer
This commit is contained in:
@@ -16,7 +16,8 @@ use Monolog\Processor\ProcessorInterface;
|
||||
/**
|
||||
* Interface to describe loggers that have processors
|
||||
*
|
||||
* @internal This interface is present in monolog 1.x to ease forward compatibility.
|
||||
* This interface is present in monolog 1.x to ease forward compatibility.
|
||||
*
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
*/
|
||||
interface ProcessableHandlerInterface
|
||||
@@ -27,7 +28,7 @@ interface ProcessableHandlerInterface
|
||||
* @param ProcessorInterface|callable $callback
|
||||
* @return HandlerInterface self
|
||||
*/
|
||||
public function pushProcessor(callable $callback): HandlerInterface;
|
||||
public function pushProcessor($callback): HandlerInterface;
|
||||
|
||||
/**
|
||||
* Removes the processor on top of the stack and returns it.
|
||||
|
||||
Reference in New Issue
Block a user