aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-17 00:59:08 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-10-17 10:58:27 +0200
commit5b3509dc05d2ef05c4f1962295181d962c994fad (patch)
tree4284b02a8c2e997c3fd5ec3e10d9e7a5b99958aa /apps/files_external
parentc2c63a551f2f8d0452865ce3924b3b983f520068 (diff)
downloadnextcloud-server-5b3509dc05d2ef05c4f1962295181d962c994fad.tar.gz
nextcloud-server-5b3509dc05d2ef05c4f1962295181d962c994fad.zip
Fix type of getVisibilityType
This is a int not a string Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/Service/GlobalStoragesService.php2
-rw-r--r--apps/files_external/lib/Service/StoragesService.php2
-rw-r--r--apps/files_external/lib/Service/UserStoragesService.php2
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;