We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cfc20 commit 8e1e6adCopy full SHA for 8e1e6ad
lib/private/legacy/OC_Util.php
@@ -307,16 +307,16 @@ public static function setupRootFS(string $user = '') {
307
}
308
309
/**
310
- * Can be set up
+ * Setup the file system
311
*
312
- * @param string $user
+ * @param string|null $user
313
* @return boolean
314
* @description configure the initial filesystem based on the configuration
315
* @suppress PhanDeprecatedFunction
316
* @suppress PhanAccessMethodInternal
317
*/
318
- public static function setupFS($user = '') {
319
- self::setupRootFS($user);
+ public static function setupFS(?string $user = '') {
+ self::setupRootFS($user ?? '');
320
321
if (self::$fsSetup) {
322
return false;
0 commit comments