diff options
Diffstat (limited to 'lib/private/legacy/OC_Util.php')
-rw-r--r-- | lib/private/legacy/OC_Util.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php index 3e3708f201b..9110678537f 100644 --- a/lib/private/legacy/OC_Util.php +++ b/lib/private/legacy/OC_Util.php @@ -308,16 +308,16 @@ class OC_Util { } /** - * Can be set up + * Setup the file system * - * @param string $user + * @param string|null $user * @return boolean * @description configure the initial filesystem based on the configuration * @suppress PhanDeprecatedFunction * @suppress PhanAccessMethodInternal */ - public static function setupFS($user = '') { - self::setupRootFS($user); + public static function setupFS(?string $user = '') { + self::setupRootFS($user ?? ''); if (self::$fsSetup) { return false; |