mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Fix type of getVisibilityType
This is a int not a string Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
c2c63a551f
commit
5b3509dc05
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue