https://www.mediawiki.org/wiki/Special:Code/MediaWiki/103438

Revision: 103438
Author:   aaron
Date:     2011-11-17 03:14:05 +0000 (Thu, 17 Nov 2011)
Log Message:
-----------
Documentation

Modified Paths:
--------------
    trunk/phase3/includes/filerepo/LocalRepo.php

Modified: trunk/phase3/includes/filerepo/LocalRepo.php
===================================================================
--- trunk/phase3/includes/filerepo/LocalRepo.php        2011-11-17 03:13:33 UTC 
(rev 103437)
+++ trunk/phase3/includes/filerepo/LocalRepo.php        2011-11-17 03:14:05 UTC 
(rev 103438)
@@ -136,6 +136,7 @@
         * Checks if there is a redirect named as $title
         *
         * @param $title Title of file
+        * @return bool
         */
        function checkRedirect( Title $title ) {
                global $wgMemc;
@@ -206,6 +207,7 @@
        /**
         * Get an array or iterator of file objects for files that have a given 
         * SHA-1 content hash.
+        * @return Array
         */
        function findBySha1( $hash ) {
                $dbr = $this->getSlaveDB();
@@ -242,6 +244,7 @@
         * Get a key on the primary cache for this repository.
         * Returns false if the repository's cache is not accessible at this 
site. 
         * The parameters are the parts of the key, as for wfMemcKey().
+        * @return string
         */
        function getSharedCacheKey( /*...*/ ) {
                $args = func_get_args();
@@ -252,6 +255,7 @@
         * Invalidates image redirect cache related to that image
         *
         * @param $title Title of page
+        * @return void
         */
        function invalidateImageRedirect( Title $title ) {
                global $wgMemc;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to