From b27a9cb3c84eb73a3b9734636ce1fa475afcf801 Mon Sep 17 00:00:00 2001 From: "Made I.T" Date: Mon, 20 Feb 2023 16:37:26 +0100 Subject: [PATCH] Fix Declaration of ExceptionLogger::log --- src/Micrometa/Infrastructure/Logger/ExceptionLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Micrometa/Infrastructure/Logger/ExceptionLogger.php b/src/Micrometa/Infrastructure/Logger/ExceptionLogger.php index a1f8a42..66f43bf 100644 --- a/src/Micrometa/Infrastructure/Logger/ExceptionLogger.php +++ b/src/Micrometa/Infrastructure/Logger/ExceptionLogger.php @@ -82,7 +82,7 @@ public function __construct($threshold = Logger::ERROR) * @throws \Exception Exception that occured * @throws \RuntimeException Log message as exception */ - public function log($level, $message, array $context = []) + public function log($level, $message, array $context = []): void { $level = Logger::toMonologLevel($level); if ($level instanceof Level) {