Skip to content

Commit

Permalink
fix test warning
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Jan 21, 2025
1 parent 516d8d9 commit 67ed300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/SDK/Logs/LoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(private readonly InMemoryExporter $exporter)
{
}

public function onEmit(ReadWriteLogRecord &$record, ContextInterface $context = null): void
public function onEmit(ReadWriteLogRecord &$record, ?ContextInterface $context = null): void
{
$record->setAttributes(['baz' => 'bat']);
$this->exporter->export([$record]);
Expand Down

0 comments on commit 67ed300

Please sign in to comment.