Fix type of getVisibilityType

This is a int not a string

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/34624/head
Carl Schwan 4 years ago
parent c2c63a551f
commit 5b3509dc05
  1. 2
      apps/files_external/lib/Service/GlobalStoragesService.php
  2. 2
      apps/files_external/lib/Service/StoragesService.php
  3. 2
      apps/files_external/lib/Service/UserStoragesService.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;

@ -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…
Cancel
Save