From: Aaron Schulz Date: Thu, 17 Nov 2011 03:14:05 +0000 (+0000) Subject: Documentation X-Git-Tag: 1.31.0-rc.0~26452 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=2e5c33b15e617272400c26f95c163ca4c5d15285;p=lhc%2Fweb%2Fwiklou.git Documentation --- diff --git a/includes/filerepo/LocalRepo.php b/includes/filerepo/LocalRepo.php index f941045d3f..42aacdf870 100644 --- a/includes/filerepo/LocalRepo.php +++ b/includes/filerepo/LocalRepo.php @@ -136,6 +136,7 @@ class LocalRepo extends FSRepo { * 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 @@ class LocalRepo extends FSRepo { /** * 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 @@ class LocalRepo extends FSRepo { * 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 @@ class LocalRepo extends FSRepo { * Invalidates image redirect cache related to that image * * @param $title Title of page + * @return void */ function invalidateImageRedirect( Title $title ) { global $wgMemc;