diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index c336880455c..2a1401a8a9d 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -565,7 +565,7 @@ Raw output * @param array $appRoot The app root config * @return string[] The none writable directory paths inside the app root */ - private function getAppDirsWithDifferentOwnerForAppRoot($currentUser, array $appRoot): array { + private function getAppDirsWithDifferentOwnerForAppRoot(int $currentUser, array $appRoot): array { $appDirsWithDifferentOwner = []; $appsPath = $appRoot['path']; $appsDir = new DirectoryIterator($appRoot['path']);