From 52fab9c51554d8aa3593bef7fc628a8f8c62f880 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 20 Oct 2013 02:32:30 -0700 Subject: [PATCH] EchoBasicFormatter::formatFragment returns a Message object Change-Id: I28228f904c4364a1e4c1c1a637bf78f506003eb6 --- formatters/BasicFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formatters/BasicFormatter.php b/formatters/BasicFormatter.php index e29d3ebed..cdf442ec4 100644 --- a/formatters/BasicFormatter.php +++ b/formatters/BasicFormatter.php @@ -343,7 +343,7 @@ class EchoBasicFormatter extends EchoNotificationFormatter { * @param $details array An i18n message and parameters to pass to the message * @param $event EchoEvent that the notification is for. * @param $user User to format the notification for. - * @return string + * @return Message */ public function formatFragment( $details, $event, $user ) { $message = $this->getMessage( $details['message'] );