EchoBasicFormatter::formatFragment returns a Message object

Change-Id: I28228f904c4364a1e4c1c1a637bf78f506003eb6
This commit is contained in:
Kunal Mehta 2013-10-20 02:32:30 -07:00
parent f31c605360
commit 52fab9c515

View file

@ -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'] );