diff options
author | umherirrender <umherirrender_de.wp@web.de> | 2014-04-19 01:19:46 +0200 |
---|---|---|
committer | umherirrender <umherirrender_de.wp@web.de> | 2014-04-19 01:19:46 +0200 |
commit | fd66273c941e04e3fde22f4b2593ed91f9824122 (patch) | |
tree | 44abd6049cb7f8e49131d43eca56b0037f8fc0b9 /includes/cache/HTMLFileCache.php | |
parent | f7f710287b701dc148f56a4a3ba6f88db3506893 (diff) | |
download | mediawikicore-fd66273c941e04e3fde22f4b2593ed91f9824122.tar.gz mediawikicore-fd66273c941e04e3fde22f4b2593ed91f9824122.zip |
Fixed some @params documentation (includes/[cache|objectcache])
Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.
Change-Id: I86fd10e3f2d4bb80e7432533038d124693acfb3c
Diffstat (limited to 'includes/cache/HTMLFileCache.php')
-rw-r--r-- | includes/cache/HTMLFileCache.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/includes/cache/HTMLFileCache.php b/includes/cache/HTMLFileCache.php index 3690b703c966..91580f978f59 100644 --- a/includes/cache/HTMLFileCache.php +++ b/includes/cache/HTMLFileCache.php @@ -31,8 +31,8 @@ class HTMLFileCache extends FileCacheBase { /** * Construct an ObjectFileCache from a Title and an action - * @param $title Title|string Title object or prefixed DB key string - * @param $action string + * @param Title|string $title Title object or prefixed DB key string + * @param string $action * @throws MWException * @return HTMLFileCache */ @@ -84,7 +84,7 @@ class HTMLFileCache extends FileCacheBase { /** * Check if pages can be cached for this request/user - * @param $context IContextSource + * @param IContextSource $context * @return bool */ public static function useFileCache( IContextSource $context ) { @@ -125,7 +125,7 @@ class HTMLFileCache extends FileCacheBase { /** * Read from cache to context output - * @param $context IContextSource + * @param IContextSource $context * @return void */ public function loadFromFileCache( IContextSource $context ) { @@ -155,7 +155,7 @@ class HTMLFileCache extends FileCacheBase { /** * Save this cache object with the given text. * Use this as an ob_start() handler. - * @param $text string + * @param string $text * @return bool Whether $wgUseFileCache is enabled */ public function saveToFileCache( $text ) { @@ -200,7 +200,7 @@ class HTMLFileCache extends FileCacheBase { /** * Clear the file caches for a page for all actions - * @param $title Title + * @param Title $title * @return bool Whether $wgUseFileCache is enabled */ public static function clearFileCache( Title $title ) { |