diff --git a/src/Illuminate/Log/LogManager.php b/src/Illuminate/Log/LogManager.php index 15df806d55e6..b3ece35d811c 100644 --- a/src/Illuminate/Log/LogManager.php +++ b/src/Illuminate/Log/LogManager.php @@ -630,7 +630,7 @@ public function getChannels() /** * System is unusable. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -645,7 +645,7 @@ public function emergency($message, array $context = []): void * Example: Entire website down, database unavailable, etc. This should * trigger the SMS alerts and wake you up. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -659,7 +659,7 @@ public function alert($message, array $context = []): void * * Example: Application component unavailable, unexpected exception. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -672,7 +672,7 @@ public function critical($message, array $context = []): void * Runtime errors that do not require immediate action but should typically * be logged and monitored. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -687,7 +687,7 @@ public function error($message, array $context = []): void * Example: Use of deprecated APIs, poor use of an API, undesirable things * that are not necessarily wrong. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -699,7 +699,7 @@ public function warning($message, array $context = []): void /** * Normal but significant events. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -713,7 +713,7 @@ public function notice($message, array $context = []): void * * Example: User logs in, SQL logs. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -725,7 +725,7 @@ public function info($message, array $context = []): void /** * Detailed debug information. * - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */ @@ -738,7 +738,7 @@ public function debug($message, array $context = []): void * Logs with an arbitrary level. * * @param mixed $level - * @param string $message + * @param string|\Stringable $message * @param array $context * @return void */