mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-24 10:49:37 +00:00
EchoBasicFormatter::formatFragment returns a Message object
Change-Id: I28228f904c4364a1e4c1c1a637bf78f506003eb6
This commit is contained in:
parent
f31c605360
commit
52fab9c515
|
@ -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'] );
|
||||
|
|
Loading…
Reference in a new issue