aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-03-28 16:13:19 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-04-04 11:45:22 +0200
commit0b332ceac24ee93e82e25ee95841ae6fae3b889b (patch)
tree5c33219f115c05a17cec25e2122ff1cae352e86f /lib/autoloader.php
parent292b903bc283c5a7929e092d8262331606461ef7 (diff)
downloadnextcloud-server-0b332ceac24ee93e82e25ee95841ae6fae3b889b.tar.gz
nextcloud-server-0b332ceac24ee93e82e25ee95841ae6fae3b889b.zip
fix: Apply new coding standard to all files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/autoloader.php')
-rw-r--r--lib/autoloader.php4
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;
}
}