From: Siebrand Mazeland Date: Tue, 3 Dec 2013 13:59:09 +0000 (+0100) Subject: Update some documentation X-Git-Tag: 1.31.0-rc.0~17814^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=cbb6648205ae6945de24131942a08c5484f27f66;p=lhc%2Fweb%2Fwiklou.git Update some documentation Change-Id: I6a75964d2048de451e9b01a08f87cfe1ebd842ba --- diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index 686361b20c..45d00d7b68 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -156,10 +156,10 @@ class BacklinkCache { /** * Get the backlinks for a given table. Cached in process memory only. - * @param $table String - * @param $startId Integer|false - * @param $endId Integer|false - * @param $max Integer|INF + * @param string $table + * @param int|bool $startId + * @param int|bool $endId + * @param int|INF $max * @return TitleArrayFromResult */ public function getLinks( $table, $startId = false, $endId = false, $max = INF ) { diff --git a/includes/cache/FileCacheBase.php b/includes/cache/FileCacheBase.php index d33f3f696f..0c00c6b593 100644 --- a/includes/cache/FileCacheBase.php +++ b/includes/cache/FileCacheBase.php @@ -153,6 +153,7 @@ abstract class FileCacheBase { /** * Save and compress text to the cache + * @param string $text * @return string compressed text */ public function saveText( $text ) { diff --git a/includes/cache/LinkCache.php b/includes/cache/LinkCache.php index 0d706c08cb..de2a728b06 100644 --- a/includes/cache/LinkCache.php +++ b/includes/cache/LinkCache.php @@ -78,6 +78,7 @@ class LinkCache { /** * General accessor to get/set whether SELECT FOR UPDATE should be used * + * @param $update * @return bool */ public function forUpdate( $update = null ) { diff --git a/includes/cache/UserCache.php b/includes/cache/UserCache.php index 2e4c1e99a7..cea3bf2f32 100644 --- a/includes/cache/UserCache.php +++ b/includes/cache/UserCache.php @@ -66,6 +66,7 @@ class UserCache { * * @param integer $userId * @param string $ip + * @return string * @since 1.22 */ public function getUserName( $userId, $ip ) {