jenkins-bot has submitted this change and it was merged.

Change subject: Add hook @return phpdocs
......................................................................


Add hook @return phpdocs

Change-Id: Ie96f08891ce058f42ea014ca1afcf9f13c5ecdf4
---
M Contributors.hooks.php
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/Contributors.hooks.php b/Contributors.hooks.php
index 8615ce3..d81833b 100644
--- a/Contributors.hooks.php
+++ b/Contributors.hooks.php
@@ -11,7 +11,8 @@
         * Set up the #contributors parser function
         *
         * @param Parser $parser
-        * @return boolean
+        *
+        * @return bool
         */
        public static function setupParserFunction( Parser &$parser ) {
                $parser->setFunctionHook( 'contributors', __CLASS__ . 
'::contributorsParserFunction',
@@ -57,6 +58,8 @@
         * Invalidate the cache we saved for a given title
         *
         * @param $article Article object that changed
+        *
+        * @return bool
         */
        public static function invalidateCache( &$article ) {
                global $wgMemc;
@@ -69,6 +72,8 @@
         * Prepare the toolbox link
         *
         * @var $skintemplate SkinTemplate
+        *
+        * @return bool
         */
        public static function navigation( &$skintemplate, &$nav_urls, &$oldid, 
&$revid ) {
                if ( $skintemplate->getTitle()->getNamespace() === NS_MAIN && 
$revid !== 0 ) {
@@ -83,6 +88,8 @@
 
        /**
         * Output the toolbox link
+        *
+        * @return bool
         */
        public static function toolbox( &$monobook ) {
                if ( isset( $monobook->data['nav_urls']['contributors'] ) ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie96f08891ce058f42ea014ca1afcf9f13c5ecdf4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Contributors
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to