From 6370690aaf52d45b2c43b58ede807f36ecfcc7e2 Mon Sep 17 00:00:00 2001 From: Hector Mendoza Jacobo Date: Thu, 5 Sep 2024 21:49:24 +0000 Subject: [PATCH] fix typing for PSR-3 logger interface --- src/Logging/StdOutLogger.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Logging/StdOutLogger.php b/src/Logging/StdOutLogger.php index 224c9388e..df5b90417 100644 --- a/src/Logging/StdOutLogger.php +++ b/src/Logging/StdOutLogger.php @@ -92,6 +92,11 @@ public function debug(string|Stringable $message, array $context = []): void $this->log(LogLevel::DEBUG, $message); } + /** + * @param string $level + * @param string|Stringable $message + * @param array $context + */ public function log($level, string|Stringable $message, array $context = []): void { if ($this->getLevelMap($level) < $this->level) {