[MediaWiki-commits] [Gerrit] mediawiki...Contributors[master]: Improve some parameter docs

2018-01-19 Thread jenkins-bot (Code Review)
jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/403702 )

Change subject: Improve some parameter docs
..


Improve some parameter docs

Change-Id: I1a03afc58d87cce2f60e52d58fe930fecdf0aa9d
---
M .phpcs.xml
M includes/ContributorsHooks.php
2 files changed, 15 insertions(+), 15 deletions(-)

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



diff --git a/.phpcs.xml b/.phpcs.xml
index 4e2f687..b057584 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -4,9 +4,6 @@



-   
-   
-   



diff --git a/includes/ContributorsHooks.php b/includes/ContributorsHooks.php
index 3384bc1..9177aa6 100644
--- a/includes/ContributorsHooks.php
+++ b/includes/ContributorsHooks.php
@@ -10,7 +10,7 @@
/**
 * Set up the #contributors parser function
 *
-* @param Parser $parser
+* @param Parser &$parser
 *
 * @return bool
 */
@@ -57,8 +57,10 @@
/**
 * Prepare the toolbox link
 *
-* @var $skintemplate SkinTemplate
-*
+* @param SkinTemplate &$skintemplate
+* @param array &$nav_urls
+* @param int &$oldid
+* @param int &$revid
 * @return bool
 */
public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink(
@@ -81,6 +83,7 @@
/**
 * Output the toolbox link
 *
+* @param BaseTemplate &$monobook
 * @return bool
 */
public static function onSkinTemplateToolboxEnd( BaseTemplate 
&$monobook ) {
@@ -118,15 +121,15 @@
 *
 * @param WikiPage $wikiPage
 * @param User $user
-* @param $content
-* @param $summary
-* @param $isMinor
-* @param $isWatch
-* @param $section
-* @param $flags
-* @param $revision
-* @param $status
-* @param $baseRevId
+* @param Content $content
+* @param string $summary
+* @param bool $isMinor
+* @param bool $isWatch
+* @param string $section
+* @param int $flags
+* @param Revision $revision
+* @param Status $status
+* @param int $baseRevId
 *
 * @throws Exception
 */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I1a03afc58d87cce2f60e52d58fe930fecdf0aa9d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Contributors
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 
Gerrit-Reviewer: Umherirrender 
Gerrit-Reviewer: jenkins-bot <>

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] mediawiki...Contributors[master]: Improve some parameter docs

2018-01-11 Thread Umherirrender (Code Review)
Umherirrender has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/403702 )

Change subject: Improve some parameter docs
..

Improve some parameter docs

Change-Id: I1a03afc58d87cce2f60e52d58fe930fecdf0aa9d
---
M .phpcs.xml
M includes/ContributorsHooks.php
2 files changed, 15 insertions(+), 15 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Contributors 
refs/changes/02/403702/1

diff --git a/.phpcs.xml b/.phpcs.xml
index 4e2f687..b057584 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -4,9 +4,6 @@



-   
-   
-   



diff --git a/includes/ContributorsHooks.php b/includes/ContributorsHooks.php
index 3384bc1..9177aa6 100644
--- a/includes/ContributorsHooks.php
+++ b/includes/ContributorsHooks.php
@@ -10,7 +10,7 @@
/**
 * Set up the #contributors parser function
 *
-* @param Parser $parser
+* @param Parser &$parser
 *
 * @return bool
 */
@@ -57,8 +57,10 @@
/**
 * Prepare the toolbox link
 *
-* @var $skintemplate SkinTemplate
-*
+* @param SkinTemplate &$skintemplate
+* @param array &$nav_urls
+* @param int &$oldid
+* @param int &$revid
 * @return bool
 */
public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink(
@@ -81,6 +83,7 @@
/**
 * Output the toolbox link
 *
+* @param BaseTemplate &$monobook
 * @return bool
 */
public static function onSkinTemplateToolboxEnd( BaseTemplate 
&$monobook ) {
@@ -118,15 +121,15 @@
 *
 * @param WikiPage $wikiPage
 * @param User $user
-* @param $content
-* @param $summary
-* @param $isMinor
-* @param $isWatch
-* @param $section
-* @param $flags
-* @param $revision
-* @param $status
-* @param $baseRevId
+* @param Content $content
+* @param string $summary
+* @param bool $isMinor
+* @param bool $isWatch
+* @param string $section
+* @param int $flags
+* @param Revision $revision
+* @param Status $status
+* @param int $baseRevId
 *
 * @throws Exception
 */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a03afc58d87cce2f60e52d58fe930fecdf0aa9d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Contributors
Gerrit-Branch: master
Gerrit-Owner: Umherirrender 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits