Fixed some docs
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 13 Aug 2014 18:01:46 +0000 (20:01 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Wed, 13 Aug 2014 18:01:46 +0000 (20:01 +0200)
- 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
includes/content/JSONContent.php
includes/poolcounter/PoolCounterWork.php
includes/skins/Skin.php
includes/skins/SkinFallback.php

index 0e87a2e..05f91bc 100644 (file)
@@ -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' );
index 377d675..e563780 100644 (file)
@@ -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();
index e49afed..c0be7a1 100644 (file)
@@ -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
         */
index c4de2ad..d44b17d 100644 (file)
@@ -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' );
index 30ea97d..b63f7a1 100644 (file)
@@ -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 );