Sfoglia il codice sorgente

Add int-typehint

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Daniel Kesselberg 5 anni fa
parent
commit
45dab2d2a2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      settings/Controller/CheckSetupController.php

+ 1 - 1
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']);