From f6e19c0afe09711c2db9044628fd1beb61c31908 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Wed, 13 Aug 2014 20:01:46 +0200 Subject: [PATCH] Fixed some docs - Added since to @deprecated - Use lowercase array on @param - Added missing type on @param - Swapped type and variable on @param - Fixed spelling of @return Change-Id: Idbbc6b4c8aadb6d98c636f53024ac513346c912b --- includes/api/ApiBase.php | 2 +- includes/content/JSONContent.php | 4 ++-- includes/poolcounter/PoolCounterWork.php | 2 +- includes/skins/Skin.php | 2 +- includes/skins/SkinFallback.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 0e87a2ea7f..05f91bcfca 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -2068,7 +2068,7 @@ abstract class ApiBase extends ContextSource { /** * @see self::getPossibleErrors() * @deprecated since 1.24 - * @retun array + * @return array */ public function getFinalPossibleErrors() { wfDeprecated( __METHOD__, '1.24' ); diff --git a/includes/content/JSONContent.php b/includes/content/JSONContent.php index 377d67501f..e563780159 100644 --- a/includes/content/JSONContent.php +++ b/includes/content/JSONContent.php @@ -80,8 +80,8 @@ class JSONContent extends TextContent { } /** * Constructs an HTML representation of a JSON object. - * @param Array $mapping - * @return string HTML. + * @param array $mapping + * @return string HTML */ protected function objectTable( $mapping ) { $rows = array(); diff --git a/includes/poolcounter/PoolCounterWork.php b/includes/poolcounter/PoolCounterWork.php index e49afed096..c0be7a1b08 100644 --- a/includes/poolcounter/PoolCounterWork.php +++ b/includes/poolcounter/PoolCounterWork.php @@ -65,7 +65,7 @@ abstract class PoolCounterWork { /** * Do something with the error, like showing it to the user. * - * @param $status + * @param Status $status * * @return bool */ diff --git a/includes/skins/Skin.php b/includes/skins/Skin.php index c4de2ad78a..d44b17dfac 100644 --- a/includes/skins/Skin.php +++ b/includes/skins/Skin.php @@ -144,7 +144,7 @@ abstract class Skin extends ContextSource { * Factory method for loading a skin of a given type * @param string $key 'monobook', 'vector', etc. * @return Skin - * @deprecated Use SkinFactory instead + * @deprecated since 1.24; Use SkinFactory instead */ static function &newFromKey( $key ) { wfDeprecated( __METHOD__, '1.24' ); diff --git a/includes/skins/SkinFallback.php b/includes/skins/SkinFallback.php index 30ea97d995..b63f7a16fa 100644 --- a/includes/skins/SkinFallback.php +++ b/includes/skins/SkinFallback.php @@ -19,7 +19,7 @@ class SkinFallback extends SkinTemplate { /** * Add CSS via ResourceLoader * - * @param $out OutputPage + * @param OutputPage $out */ public function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); -- 2.20.1