From 85af847c20b957a902cb9a58c93e3ecf18f5dd83 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 15 Mar 2010 21:51:12 +0000 Subject: [PATCH] Fixed some doxygen warnings --- includes/LinkBatch.php | 6 +++--- includes/LinkCache.php | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/includes/LinkBatch.php b/includes/LinkBatch.php index d9a9666dc2..d448c80fac 100644 --- a/includes/LinkBatch.php +++ b/includes/LinkBatch.php @@ -142,9 +142,9 @@ class LinkBatch { /** * Construct a WHERE clause which will match all the given titles. * - * @param string $prefix the appropriate table's field name prefix ('page', 'pl', etc) - * @return string - * @public + * @param $prefix String: the appropriate table's field name prefix ('page', 'pl', etc) + * @param $db DatabaseBase object to use + * @return String */ public function constructSet( $prefix, &$db ) { $first = true; diff --git a/includes/LinkCache.php b/includes/LinkCache.php index 8d035763e3..8d9d80d885 100644 --- a/includes/LinkCache.php +++ b/includes/LinkCache.php @@ -48,8 +48,8 @@ class LinkCache { /** * Get a field of a title object from cache. * If this link is not good, it will return NULL. - * @param Title $title - * @param string $field ('length','redirect') + * @param $title Title + * @param $field String: ('length','redirect') * @return mixed */ public function getGoodLinkFieldObj( $title, $field ) { @@ -67,10 +67,10 @@ class LinkCache { /** * Add a link for the title to the link cache - * @param int $id - * @param Title $title - * @param int $len - * @param int $redir + * @param $id Integer + * @param $title Title + * @param $len Integer + * @param $redir Integer */ public function addGoodLinkObj( $id, $title, $len = -1, $redir = null ) { $dbkey = $title->getPrefixedDbKey(); @@ -127,7 +127,7 @@ class LinkCache { * Add a title to the link cache, return the page_id or zero if non-existent * @param $nt Title to add. * @param $len int, page size - * @param $redir bool, is redirect? + * @param $redirect bool, is redirect? * @return integer */ public function addLinkObj( &$nt, $len = -1, $redirect = null ) { -- 2.20.1