aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/public/Log/BeforeMessageLoggedEvent.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/public/Log/BeforeMessageLoggedEvent.php b/lib/public/Log/BeforeMessageLoggedEvent.php
index 7ad44714974..40e929d5d39 100644
--- a/lib/public/Log/BeforeMessageLoggedEvent.php
+++ b/lib/public/Log/BeforeMessageLoggedEvent.php
@@ -36,9 +36,12 @@ class BeforeMessageLoggedEvent extends Event {
private $message;
/**
+ * @param string $app
+ * @param int $level
+ * @param array $message
* @since 28.0.0
*/
- public function __construct(string $app, int $level, $message) {
+ public function __construct(string $app, int $level, array $message) {
$this->level = $level;
$this->app = $app;
$this->message = $message;
@@ -69,10 +72,10 @@ class BeforeMessageLoggedEvent extends Event {
/**
* Get the message of the log item
*
- * @return string
+ * @return array
* @since 28.0.0
*/
- public function getMessage(): string {
+ public function getMessage(): array {
return $this->message;
}
}