Merge "Move ApiQueryRecentChanges::parseRCType to static method on RecentChange"
[lhc/web/wiklou.git] / includes / api / ApiQueryRevisions.php
index 033976f..592c434 100644 (file)
@@ -37,7 +37,7 @@ class ApiQueryRevisions extends ApiQueryBase {
        private $diffto, $difftotext, $expandTemplates, $generateXML, $section,
                $token, $parseContent, $contentFormat;
 
-       public function __construct( $query, $moduleName ) {
+       public function __construct( ApiQuery $query, $moduleName ) {
                parent::__construct( $query, $moduleName, 'rv' );
        }
 
@@ -72,10 +72,10 @@ class ApiQueryRevisions extends ApiQueryBase {
        }
 
        /**
-        * @param $pageid
-        * @param $title Title
-        * @param $rev Revision
-        * @return bool|String
+        * @param int $pageid
+        * @param Title $title
+        * @param Revision $rev
+        * @return bool|string
         */
        public static function getRollbackToken( $pageid, $title, $rev ) {
                global $wgUser;