* Fix build * Update phpstan-baseline.neon * better fix
@@ -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,