mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-19 23:56:17 +02:00
Removed second param from processors
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
|
||||
namespace Monolog\Processor;
|
||||
|
||||
use Monolog\Handler\HandlerInterface;
|
||||
|
||||
/**
|
||||
* Injects url/method and remote IP of the current web request in all records
|
||||
*
|
||||
@@ -25,7 +23,7 @@ class WebProcessor
|
||||
* @param HandlerInterface $handler
|
||||
* @return array
|
||||
*/
|
||||
public function __invoke(array $record, HandlerInterface $handler)
|
||||
public function __invoke(array $record)
|
||||
{
|
||||
$record['extra'] = array_merge(
|
||||
$record['extra'],
|
||||
|
Reference in New Issue
Block a user