From 3373975b93b5c7aab2bb3de26745244e6cde4fbc Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 27 Mar 2013 11:45:25 +0100 Subject: [PATCH] Update PHPDoc Change-Id: I920aa1875548120efa2c670e4290ba2d4a004878 --- Thanks.hooks.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Thanks.hooks.php b/Thanks.hooks.php index 4e64f604..7d269b03 100644 --- a/Thanks.hooks.php +++ b/Thanks.hooks.php @@ -91,9 +91,9 @@ class ThanksHooks { * Add extension event to $wgEchoEnabledEvents * @param $wgEchoEnabledEvents array a list of enabled echo events * @param $wgEchoEventDetails array details for echo events + * @return bool */ public static function onBeforeCreateEchoEvent( &$wgEchoNotifications, &$wgEchoNotificationCategories ) { - $wgEchoNotificationCategories['edit-thank'] = array( 'priority' => 3, ); @@ -123,6 +123,7 @@ class ThanksHooks { * Add user to be notified on echo event * @param $event EchoEvent * @param $users array + * @return bool */ public static function onEchoGetDefaultNotifiedUsers( $event, &$users ) { switch ( $event->getType() ) {