Fix comment ResourceLoader::tryRespondFromFileCache().
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 8 May 2012 15:53:59 +0000 (17:53 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Tue, 8 May 2012 15:53:59 +0000 (17:53 +0200)
Mention ResourceFileCache instead of ObjectFileCache for the $fileCache parameter since the signature is
function tryRespondFromFileCache( ResourceFileCache $fileCache, ResourceLoaderContext $context )

Change-Id: I8e738c847ea358117a2a9b54f41fdb10308e2656

includes/resourceloader/ResourceLoader.php

index e1b851a..71e68d1 100644 (file)
@@ -601,7 +601,7 @@ class ResourceLoader {
        /**
         * Send out code for a response from file cache if possible
         *
-        * @param $fileCache ObjectFileCache: Cache object for this request URL
+        * @param $fileCache ResourceFileCache: Cache object for this request URL
         * @param $context ResourceLoaderContext: Context in which to generate a response
         * @return bool If this found a cache file and handled the response
         */