Update some documentation
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 3 Dec 2013 13:59:09 +0000 (14:59 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Tue, 3 Dec 2013 13:59:45 +0000 (14:59 +0100)
Change-Id: I6a75964d2048de451e9b01a08f87cfe1ebd842ba

includes/cache/BacklinkCache.php
includes/cache/FileCacheBase.php
includes/cache/LinkCache.php
includes/cache/UserCache.php

index 686361b..45d00d7 100644 (file)
@@ -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 ) {
index d33f3f6..0c00c6b 100644 (file)
@@ -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 ) {
index 0d706c0..de2a728 100644 (file)
@@ -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 ) {
index 2e4c1e9..cea3bf2 100644 (file)
@@ -66,6 +66,7 @@ class UserCache {
         *
         * @param integer $userId
         * @param string $ip
+        * @return string
         * @since 1.22
         */
        public function getUserName( $userId, $ip ) {