From a425d7d7941bef41aab38f018147b95352b0b1c2 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Thu, 2 Mar 2023 11:09:09 +0100 Subject: [PATCH] Do not use deprecated self:: callable --- src/Monolog/LogtailFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monolog/LogtailFormatter.php b/src/Monolog/LogtailFormatter.php index 777d520..72155bf 100644 --- a/src/Monolog/LogtailFormatter.php +++ b/src/Monolog/LogtailFormatter.php @@ -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); }