summaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php
index 3228ca29b22..3451f799e18 100644
--- a/lib/autoloader.php
+++ b/lib/autoloader.php
@@ -150,7 +150,7 @@ class Autoloader {
* @brief Sets the optional low-latency cache for class to path mapping.
* @param \OC\Memcache\Cache $memoryCache Instance of memory cache.
*/
- public function setMemoryCache(\OC\Memcache\Cache $memoryCache) {
+ public function setMemoryCache(\OC\Memcache\Cache $memoryCache = null) {
$this->memoryCache = $memoryCache;
}
}