Bsitu has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/69249


Change subject: Remove unused global variable and documentation fix
......................................................................

Remove unused global variable and documentation fix

Change-Id: I2f6e0388c2d1218e72b70a69b429884b39dc096f
---
M formatters/BasicFormatter.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/49/69249/1

diff --git a/formatters/BasicFormatter.php b/formatters/BasicFormatter.php
index b5cd76f..cedcfb1 100644
--- a/formatters/BasicFormatter.php
+++ b/formatters/BasicFormatter.php
@@ -143,7 +143,7 @@
         * @return array|string
         */
        public function format( $event, $user, $type ) {
-               global $wgEchoNotificationCategories, $wgExtensionAssetsPath, 
$wgEchoNotificationIcons;
+               global $wgExtensionAssetsPath, $wgEchoNotificationIcons;
 
                // Use the bundle message if use-bundle is true and there is a 
bundle message
                $this->generateBundleData( $event, $user, $type );
@@ -259,7 +259,7 @@
         * @param $event EchoEvent
         * @param $user User
         * @param $type
-        * @return string
+        * @return array
         */
        protected function formatEmail( $event, $user, $type ) {
                $subject = $this->formatFragment( $this->email['subject'], 
$event, $user )->text();

-- 
To view, visit https://gerrit.wikimedia.org/r/69249
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f6e0388c2d1218e72b70a69b429884b39dc096f
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

Reply via email to