diff options
author | Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> | 2015-12-08 15:01:20 +0000 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-10 16:43:37 +0100 |
commit | ffc49a24f02639afce362384fc3d6e4a0799d1d7 (patch) | |
tree | b89786860bf4289211a31c3b76dca7bff3b5523f /apps/files_external/service | |
parent | 7094ed05adfa435a53d7d6ce0c3b6d32760f5111 (diff) | |
download | nextcloud-server-ffc49a24f02639afce362384fc3d6e4a0799d1d7.tar.gz nextcloud-server-ffc49a24f02639afce362384fc3d6e4a0799d1d7.zip |
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'apps/files_external/service')
-rw-r--r-- | apps/files_external/service/storagesservice.php | 3 | ||||
-rw-r--r-- | apps/files_external/service/userglobalstoragesservice.php | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_external/service/storagesservice.php b/apps/files_external/service/storagesservice.php index 9be6498435c..97f79c13324 100644 --- a/apps/files_external/service/storagesservice.php +++ b/apps/files_external/service/storagesservice.php @@ -185,6 +185,9 @@ abstract class StoragesService { */ abstract public function getVisibilityType(); + /** + * @return integer + */ protected function getType() { return DBConfigService::MOUNT_TYPE_ADMIN; } diff --git a/apps/files_external/service/userglobalstoragesservice.php b/apps/files_external/service/userglobalstoragesservice.php index cb49f0f6726..e58815f8a79 100644 --- a/apps/files_external/service/userglobalstoragesservice.php +++ b/apps/files_external/service/userglobalstoragesservice.php @@ -89,6 +89,9 @@ class UserGlobalStoragesService extends GlobalStoragesService { throw new \DomainException('UserGlobalStoragesService writing disallowed'); } + /** + * @param integer $id + */ public function removeStorage($id) { throw new \DomainException('UserGlobalStoragesService writing disallowed'); } |