From edbd8ea6b32d8859ef8e1f77ba6d0e43afaea06e Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 6 Apr 2014 20:11:30 +0200 Subject: [PATCH] Fix [missing] variables in @param docs Two places found without variable, one without $ and one only missed a space before $ Change-Id: Iacd7c386d57223f3a112b59cd11383ef5c0ac2f1 --- includes/Title.php | 2 +- includes/media/GIF.php | 2 +- includes/poolcounter/PoolCounterRedis.php | 2 +- includes/site/SiteSQLStore.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/Title.php b/includes/Title.php index 995deeb26d..d025f351c6 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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 ) { diff --git a/includes/media/GIF.php b/includes/media/GIF.php index bde889c86c..5992be11ed 100644 --- a/includes/media/GIF.php +++ b/includes/media/GIF.php @@ -78,7 +78,7 @@ class GIFHandler extends BitmapHandler { /** * @todo Add unit tests * - * @param File$image + * @param File $image * @return bool */ function getImageArea( $image ) { diff --git a/includes/poolcounter/PoolCounterRedis.php b/includes/poolcounter/PoolCounterRedis.php index 1bc10f21f4..5c88239e43 100644 --- a/includes/poolcounter/PoolCounterRedis.php +++ b/includes/poolcounter/PoolCounterRedis.php @@ -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 ) { diff --git a/includes/site/SiteSQLStore.php b/includes/site/SiteSQLStore.php index 11141e07df..7bf933c120 100644 --- a/includes/site/SiteSQLStore.php +++ b/includes/site/SiteSQLStore.php @@ -193,7 +193,7 @@ class SiteSQLStore implements SiteStore { * * @since 1.22 * - * @param Site + * @param Site $site * * @return ORMRow */ -- 2.20.1