Bsitu has uploaded a new change for review.
https://gerrit.wikimedia.org/r/150904
Change subject: static method should be declared with static
......................................................................
static method should be declared with static
Change-Id: I855c09d950a44ae70b7d982e8c3e23b36dde1475
---
M includes/DataOutputFormatter.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/04/150904/1
diff --git a/includes/DataOutputFormatter.php b/includes/DataOutputFormatter.php
index 5224737..e3161e4 100644
--- a/includes/DataOutputFormatter.php
+++ b/includes/DataOutputFormatter.php
@@ -12,7 +12,7 @@
* @param User|null the target user viewing the notification
* @return array
*/
- public function formatOutput( EchoNotification $notification, $format =
false, User $user = null ) {
+ public static function formatOutput( EchoNotification $notification,
$format = false, User $user = null ) {
$event = $notification->getEvent();
// Default to notification user if user is not specified
if ( !$user ) {
--
To view, visit https://gerrit.wikimedia.org/r/150904
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I855c09d950a44ae70b7d982e8c3e23b36dde1475
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits