1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-11 23:54:04 +02:00
* Fix build

* Update phpstan-baseline.neon

* better fix
This commit is contained in:
Markus Staab
2025-03-16 13:24:42 +01:00
committed by GitHub
parent 45b5e0e33e
commit 9d6bcfc94d
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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,