From 5b3509dc05d2ef05c4f1962295181d962c994fad Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 17 Oct 2022 00:59:08 +0200 Subject: [PATCH] Fix type of getVisibilityType This is a int not a string Signed-off-by: Carl Schwan --- apps/files_external/lib/Service/GlobalStoragesService.php | 2 +- apps/files_external/lib/Service/StoragesService.php | 2 +- apps/files_external/lib/Service/UserStoragesService.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/files_external/lib/Service/GlobalStoragesService.php b/apps/files_external/lib/Service/GlobalStoragesService.php index 509d4fde8d9..e3bbed91248 100644 --- a/apps/files_external/lib/Service/GlobalStoragesService.php +++ b/apps/files_external/lib/Service/GlobalStoragesService.php @@ -155,7 +155,7 @@ class GlobalStoragesService extends StoragesService { /** * Get the visibility type for this controller, used in validation * - * @return string BackendService::VISIBILITY_* constants + * @return int BackendService::VISIBILITY_* constants */ public function getVisibilityType() { return BackendService::VISIBILITY_ADMIN; diff --git a/apps/files_external/lib/Service/StoragesService.php b/apps/files_external/lib/Service/StoragesService.php index eaa2ebf7e95..30550fc61a8 100644 --- a/apps/files_external/lib/Service/StoragesService.php +++ b/apps/files_external/lib/Service/StoragesService.php @@ -231,7 +231,7 @@ abstract class StoragesService { /** * Get the visibility type for this controller, used in validation * - * @return string BackendService::VISIBILITY_* constants + * @return int BackendService::VISIBILITY_* constants */ abstract public function getVisibilityType(); diff --git a/apps/files_external/lib/Service/UserStoragesService.php b/apps/files_external/lib/Service/UserStoragesService.php index b09b37b40cc..9a1e4e648b3 100644 --- a/apps/files_external/lib/Service/UserStoragesService.php +++ b/apps/files_external/lib/Service/UserStoragesService.php @@ -134,7 +134,7 @@ class UserStoragesService extends StoragesService { /** * Get the visibility type for this controller, used in validation * - * @return string BackendService::VISIBILITY_* constants + * @return int BackendService::VISIBILITY_* constants */ public function getVisibilityType() { return BackendService::VISIBILITY_PERSONAL;