We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b5e0e commit 9d6bcfcCopy full SHA for 9d6bcfc
src/Monolog/Handler/BufferHandler.php
@@ -163,7 +163,7 @@ public function getFormatter(): FormatterInterface
163
throw new \UnexpectedValueException('The nested handler of type '.\get_class($this->handler).' does not support formatters.');
164
}
165
166
- public function setHandler(HandlerInterface $handler)
+ public function setHandler(HandlerInterface $handler): void
167
{
168
$this->handler = $handler;
169
tests/Monolog/Formatter/ElasticsearchFormatterTest.php
@@ -34,7 +34,7 @@ public function testFormat()
34
35
// Expected values
36
$expected = $msg->toArray();
37
- $expected['datetime'] = '1970-01-01T00:00:00+0000';
+ $expected['datetime'] = '1970-01-01T00:00:00+00:00';
38
$expected['context'] = [
39
'class' => ['stdClass' => []],
40
'foo' => 7,
0 commit comments