diff options
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r-- | lib/autoloader.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/autoloader.php b/lib/autoloader.php index 26540b754a5..0f8a2ad9687 100644 --- a/lib/autoloader.php +++ b/lib/autoloader.php @@ -36,7 +36,7 @@ declare(strict_types=1); */ namespace OC; -use \OCP\AutoloadNotAllowedException; +use OCP\AutoloadNotAllowedException; use OCP\ICache; use Psr\Log\LoggerInterface; @@ -185,7 +185,7 @@ class Autoloader { * * @param ICache $memoryCache Instance of memory cache. */ - public function setMemoryCache(ICache $memoryCache = null): void { + public function setMemoryCache(?ICache $memoryCache = null): void { $this->memoryCache = $memoryCache; } } |