Fix [missing] variables in @param docs
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 6 Apr 2014 18:11:30 +0000 (20:11 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 6 Apr 2014 18:11:30 +0000 (20:11 +0200)
Two places found without variable, one without $ and one only missed a
space before $

Change-Id: Iacd7c386d57223f3a112b59cd11383ef5c0ac2f1

includes/Title.php
includes/media/GIF.php
includes/poolcounter/PoolCounterRedis.php
includes/site/SiteSQLStore.php

index 995deeb..d025f35 100644 (file)
@@ -4916,7 +4916,7 @@ class Title {
         * they will already be wrapped in paragraphs.
         *
         * @since 1.21
-        * @param int oldid Revision ID that's being edited
+        * @param int $oldid Revision ID that's being edited
         * @return Array
         */
        public function getEditNotices( $oldid = 0 ) {
index bde889c..5992be1 100644 (file)
@@ -78,7 +78,7 @@ class GIFHandler extends BitmapHandler {
        /**
         * @todo Add unit tests
         *
-        * @param File$image
+        * @param File $image
         * @return bool
         */
        function getImageArea( $image ) {
index 1bc10f2..5c88239 100644 (file)
@@ -267,7 +267,7 @@ LUA;
 
        /**
         * @param RedisConnRef $conn
-        * @param float UNIX timestamp
+        * @param float $now UNIX timestamp
         * @return string|bool False on failure
         */
        protected function initAndPopPoolSlotList( RedisConnRef $conn, $now ) {
index 11141e0..7bf933c 100644 (file)
@@ -193,7 +193,7 @@ class SiteSQLStore implements SiteStore {
         *
         * @since 1.22
         *
-        * @param Site
+        * @param Site $site
         *
         * @return ORMRow
         */