mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-12 08:04:02 +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.');
|
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;
|
$this->handler = $handler;
|
||||||
}
|
}
|
||||||
|
@@ -34,7 +34,7 @@ class ElasticsearchFormatterTest extends TestCase
|
|||||||
|
|
||||||
// Expected values
|
// Expected values
|
||||||
$expected = $msg->toArray();
|
$expected = $msg->toArray();
|
||||||
$expected['datetime'] = '1970-01-01T00:00:00+0000';
|
$expected['datetime'] = '1970-01-01T00:00:00+00:00';
|
||||||
$expected['context'] = [
|
$expected['context'] = [
|
||||||
'class' => ['stdClass' => []],
|
'class' => ['stdClass' => []],
|
||||||
'foo' => 7,
|
'foo' => 7,
|
||||||
|
Reference in New Issue
Block a user