From 1ec9f7ab901f3df28765135a39db0ba4c0477374 Mon Sep 17 00:00:00 2001 From: Anton Vasiliev Date: Sun, 2 May 2021 10:56:54 +0100 Subject: [PATCH] Clarify type of 2nd argument `context` --- Psr/Log/LoggerInterface.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Psr/Log/LoggerInterface.php b/Psr/Log/LoggerInterface.php index 2206cfd..8293266 100644 --- a/Psr/Log/LoggerInterface.php +++ b/Psr/Log/LoggerInterface.php @@ -23,7 +23,7 @@ interface LoggerInterface * System is unusable. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -36,7 +36,7 @@ public function emergency($message, array $context = array()); * trigger the SMS alerts and wake you up. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -48,7 +48,7 @@ public function alert($message, array $context = array()); * Example: Application component unavailable, unexpected exception. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -59,7 +59,7 @@ public function critical($message, array $context = array()); * be logged and monitored. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -72,7 +72,7 @@ public function error($message, array $context = array()); * that are not necessarily wrong. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -82,7 +82,7 @@ public function warning($message, array $context = array()); * Normal but significant events. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -94,7 +94,7 @@ public function notice($message, array $context = array()); * Example: User logs in, SQL logs. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -104,7 +104,7 @@ public function info($message, array $context = array()); * Detailed debug information. * * @param string $message - * @param mixed[] $context + * @param array $context * * @return void */ @@ -115,7 +115,7 @@ public function debug($message, array $context = array()); * * @param mixed $level * @param string $message - * @param mixed[] $context + * @param array $context * * @return void *