From 2e5c33b15e617272400c26f95c163ca4c5d15285 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 17 Nov 2011 03:14:05 +0000 Subject: [PATCH] Documentation --- includes/filerepo/LocalRepo.php | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1