From 00ed478a33fe398b463c3e78c2b2c5357a69355a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 7 Mar 2010 17:26:23 +0000 Subject: [PATCH] Fixed some doxygen warnings --- includes/api/ApiQueryBase.php | 2 +- includes/api/ApiQueryImageInfo.php | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 917948d075..b952f61a4b 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -464,7 +464,7 @@ abstract class ApiQueryGeneratorBase extends ApiQueryBase { /** * Overrides base class to prepend 'g' to every generator parameter - * @param $paramNames string Parameter name + * @param $paramName string Parameter name * @return string Prefixed parameter name */ public function encodeParamName( $paramName ) { diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index 1bf3457df0..5f0d2bd609 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -184,8 +184,12 @@ class ApiQueryImageInfo extends ApiQueryBase { /** * Get result information for an image revision - * @param File f The image - * @return array Result array + * + * @param $file File object + * @param $prop Array of properties to get (in the keys) + * @param $result ApiResult object + * @param $scale Array containing 'width' and 'height' items, or null + * @return Array: result array */ static function getInfo( $file, $prop, $result, $scale = null ) { $vals = array(); -- 2.20.1