mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-11 23:54:04 +02:00
Fix build (#1954)
* Fix build * Update phpstan-baseline.neon * better fix
This commit is contained in:
@@ -163,7 +163,7 @@ class BufferHandler extends AbstractHandler implements ProcessableHandlerInterfa
|
||||
throw new \UnexpectedValueException('The nested handler of type '.\get_class($this->handler).' does not support formatters.');
|
||||
}
|
||||
|
||||
public function setHandler(HandlerInterface $handler)
|
||||
public function setHandler(HandlerInterface $handler): void
|
||||
{
|
||||
$this->handler = $handler;
|
||||
}
|
||||
|
@@ -34,7 +34,7 @@ class ElasticsearchFormatterTest extends TestCase
|
||||
|
||||
// Expected values
|
||||
$expected = $msg->toArray();
|
||||
$expected['datetime'] = '1970-01-01T00:00:00+0000';
|
||||
$expected['datetime'] = '1970-01-01T00:00:00+00:00';
|
||||
$expected['context'] = [
|
||||
'class' => ['stdClass' => []],
|
||||
'foo' => 7,
|
||||
|
Reference in New Issue
Block a user