Fix type of getVisibilityType

This is a int not a string

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Carl Schwan 2022-10-17 00:59:08 +02:00
parent c2c63a551f
commit 5b3509dc05
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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();

View file

@ -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;