From 1a377359421cf5bff4f6c166b22d6cd040e6bf53 Mon Sep 17 00:00:00 2001 From: Phil Young Date: Mon, 9 Sep 2024 16:39:09 +0100 Subject: [PATCH] Restore a phpdoc v3.0.1 removed this line at https://github.com/php-fig/log/commit/79dff0b268932c640297f5208d6298f71855c03e#diff-ece1cc9e2cbefb0d1c511f88ab22703e9a402b9ca071df66704f1106c1433ad4L116 (in PR https://github.com/php-fig/log/pull/80), however it isn't covered by a typehint so broke static analysis checks in consuming applications/packages using this interface --- src/LoggerInterface.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LoggerInterface.php b/src/LoggerInterface.php index 8afabc9..cb4cf64 100644 --- a/src/LoggerInterface.php +++ b/src/LoggerInterface.php @@ -89,6 +89,7 @@ public function debug(string|\Stringable $message, array $context = []): void; /** * Logs with an arbitrary level. * + * @param mixed $level * @param mixed[] $context * * @throws \Psr\Log\InvalidArgumentException