From: Siebrand Mazeland Date: Mon, 1 Apr 2013 17:16:34 +0000 (+0200) Subject: Update PHPDoc comments X-Git-Tag: 1.31.0-rc.0~20134^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=6d3bbbbdd9a306f1a3878be33917e969f9014a73;p=lhc%2Fweb%2Fwiklou.git Update PHPDoc comments Change-Id: Id20f632762d705ba5e5eb18088f6e9e551b3f42b --- diff --git a/includes/api/ApiImageRotate.php b/includes/api/ApiImageRotate.php index 5aa41eaed3..db82805d50 100644 --- a/includes/api/ApiImageRotate.php +++ b/includes/api/ApiImageRotate.php @@ -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 ) { diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index c76e22b935..0645edbed8 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -69,6 +69,9 @@ class ApiPageSet extends ApiBase { private $mFakePageId = -1; private $mCacheMode = 'public'; private $mRequestedPageFields = array(); + /** + * @var int + */ private $mDefaultNamespace = NS_MAIN; /** diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php index 69a6441567..93ae61a6a3 100644 --- a/includes/api/ApiQueryCategories.php +++ b/includes/api/ApiQueryCategories.php @@ -49,7 +49,6 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { /** * @param $resultPageSet ApiPageSet - * @return */ private function run( $resultPageSet = null ) { if ( $this->getPageSet()->getGoodTitleCount() == 0 ) { diff --git a/includes/api/ApiQueryDuplicateFiles.php b/includes/api/ApiQueryDuplicateFiles.php index 18dcba85ac..7f73631ab6 100644 --- a/includes/api/ApiQueryDuplicateFiles.php +++ b/includes/api/ApiQueryDuplicateFiles.php @@ -48,8 +48,7 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase { } /** - * @param $resultPageSet ApiPageSet - * @return + * @param ApiPageSet $resultPageSet */ private function run( $resultPageSet = null ) { $params = $this->extractRequestParams(); diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 556f1479e9..b2ef048ec7 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -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 = '' ) {