Update PHPDoc comments
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 1 Apr 2013 17:16:34 +0000 (19:16 +0200)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 2 Apr 2013 11:42:10 +0000 (13:42 +0200)
Change-Id: Id20f632762d705ba5e5eb18088f6e9e551b3f42b

includes/api/ApiImageRotate.php
includes/api/ApiPageSet.php
includes/api/ApiQueryCategories.php
includes/api/ApiQueryDuplicateFiles.php
includes/api/ApiQueryImageInfo.php

index 5aa41ea..db82805 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 class ApiImageRotate extends ApiBase {
-
        private $mPageSet = null;
 
        public function __construct( $main, $action ) {
@@ -151,7 +150,8 @@ class ApiImageRotate extends ApiBase {
 
        /**
         * Checks that the user has permissions to perform rotations.
-        * @param $user User The user to check.
+        * @param User $user The user to check
+        * @param Title $title
         * @return string|null Permission error message, or null if there is no error
         */
        protected function checkPermissions( $user, $title ) {
index c76e22b..0645edb 100644 (file)
@@ -69,6 +69,9 @@ class ApiPageSet extends ApiBase {
        private $mFakePageId = -1;
        private $mCacheMode = 'public';
        private $mRequestedPageFields = array();
+       /**
+        * @var int
+        */
        private $mDefaultNamespace = NS_MAIN;
 
        /**
index 69a6441..93ae61a 100644 (file)
@@ -49,7 +49,6 @@ class ApiQueryCategories extends ApiQueryGeneratorBase {
 
        /**
         * @param $resultPageSet ApiPageSet
-        * @return
         */
        private function run( $resultPageSet = null ) {
                if ( $this->getPageSet()->getGoodTitleCount() == 0 ) {
index 18dcba8..7f73631 100644 (file)
@@ -48,8 +48,7 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase {
        }
 
        /**
-        * @param $resultPageSet ApiPageSet
-        * @return
+        * @param ApiPageSet $resultPageSet
         */
        private function run( $resultPageSet = null ) {
                $params = $this->extractRequestParams();
index 556f147..b2ef048 100644 (file)
@@ -547,7 +547,7 @@ class ApiQueryImageInfo extends ApiQueryBase {
         * Returns the descriptions for the properties provided by getPropertyNames()
         *
         * @param array $filter List of properties to filter out
-        *
+        * @param string $modulePrefix
         * @return array
         */
        public static function getPropertyDescriptions( $filter = array(), $modulePrefix = '' ) {