Skip to content

Commit

Permalink
Do not use deprecated self:: callable
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Mar 2, 2023
1 parent 9a46497 commit a425d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monolog/LogtailFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function format(array $record): string {

public function formatBatch(array $records): string
{
$normalized = array_values($this->normalize(array_map('self::formatRecord', $records)));
$normalized = array_values($this->normalize(array_map(self::class . '::formatRecord', $records)));
return $this->toJson($normalized, true);
}

Expand Down

0 comments on commit a425d7d

Please sign in to comment.