From 816c8b9fd21b198db149e1c4acec4dfb8f75da99 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 27 Aug 2024 10:11:14 +0200 Subject: [PATCH] Update JsonFormatter.php --- src/Monolog/Formatter/JsonFormatter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Monolog/Formatter/JsonFormatter.php b/src/Monolog/Formatter/JsonFormatter.php index 7223d2823..48a7082fb 100644 --- a/src/Monolog/Formatter/JsonFormatter.php +++ b/src/Monolog/Formatter/JsonFormatter.php @@ -102,6 +102,9 @@ public function includeStacktraces(bool $include = true): self return $this; } + /** + * @return array + */ protected function normalizeRecord(LogRecord $record): array { $normalized = parent::normalizeRecord($record);