diff --git a/src/Console.php b/src/Console.php index c7619778c8..ee9defcc15 100644 --- a/src/Console.php +++ b/src/Console.php @@ -416,48 +416,72 @@ public function runMethod($object, string $method, array $args = []) return $this; } + /** + * @param string|\Stringable $message + */ #[\Override] public function emergency($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function alert($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function critical($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function error($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function warning($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function notice($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function info($message, array $context = []): void { $this->outputHtml('' . $this->escapeOutputHtml($message) . '', $context); } + /** + * @param string|\Stringable $message + */ #[\Override] public function debug($message, array $context = []): void { @@ -465,7 +489,8 @@ public function debug($message, array $context = []): void } /** - * @param LogLevel::* $level + * @param LogLevel::* $level + * @param string|\Stringable $message */ #[\Override] public function log($level, $message, array $context = []): void