Siebrand has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/98810


Change subject: Update some documentation
......................................................................

Update some documentation

Change-Id: I6a75964d2048de451e9b01a08f87cfe1ebd842ba
---
M includes/cache/BacklinkCache.php
M includes/cache/FileCacheBase.php
M includes/cache/LinkCache.php
M includes/cache/UserCache.php
4 files changed, 7 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/10/98810/1

diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php
index 686361b..45d00d7 100644
--- a/includes/cache/BacklinkCache.php
+++ b/includes/cache/BacklinkCache.php
@@ -156,10 +156,10 @@
 
        /**
         * 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 d33f3f6..0c00c6b 100644
--- a/includes/cache/FileCacheBase.php
+++ b/includes/cache/FileCacheBase.php
@@ -153,6 +153,7 @@
 
        /**
         * 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 0d706c0..de2a728 100644
--- a/includes/cache/LinkCache.php
+++ b/includes/cache/LinkCache.php
@@ -78,6 +78,7 @@
        /**
         * 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 2e4c1e9..cea3bf2 100644
--- a/includes/cache/UserCache.php
+++ b/includes/cache/UserCache.php
@@ -66,6 +66,7 @@
         *
         * @param integer $userId
         * @param string $ip
+        * @return string
         * @since 1.22
         */
        public function getUserName( $userId, $ip ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/98810
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6a75964d2048de451e9b01a08f87cfe1ebd842ba
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <siebr...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to