Legoktm has uploaded a new change for review.

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

Change subject: Fix up some documentation
......................................................................

Fix up some documentation

Change-Id: Ie3d1ed922255cf8102a235552945ea3dce258673
---
M Hooks.php
1 file changed, 6 insertions(+), 4 deletions(-)


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

diff --git a/Hooks.php b/Hooks.php
index 83b4826..b63f64f 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -133,8 +133,9 @@
         * @param  Article $article
         * @param  Title $title
         * @param  User $user
-        * @param  Request $request
+        * @param  WebRequest $request
         * @param  MediaWiki $wiki
+        * @throws Flow\Exception\FlowException
         * @return boolean True to continue processing as normal, False to 
abort.
         */
        public static function onPerformAction( $output, $article, $title, 
$user, $request, $wiki ) {
@@ -294,10 +295,10 @@
        /**
         * Intercept contribution entries and format those belonging to Flow
         *
-        * @param ContribsPager $page Contributions object
-        * @param string $ret The HTML line
+        * @param ContribsPager $pager Contributions object
+        * @param string &$ret The HTML line
         * @param stdClass $row The data for this line
-        * @param array $classes the classes to add to the surrounding <li>
+        * @param array &$classes the classes to add to the surrounding <li>
         * @return bool
         */
        public static function onContributionsLineEnding( $pager, &$ret, $row, 
&$classes ) {
@@ -362,6 +363,7 @@
         * @param AbuseFilterVariableHolder $vars
         * @param array $parameters Parameters with data to compute the value
         * @param mixed &$result Result of the computation
+        * @return bool
         */
        public static function onAbuseFilterComputeVariable( $method, 
AbuseFilterVariableHolder $vars, $parameters, &$result ) {
                $spamfilter = Container::get( 'controller.abusefilter' );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3d1ed922255cf8102a235552945ea3dce258673
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

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

Reply via email to