aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Capabilities.php
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-06-14 14:43:41 +0200
committerjld3103 <jld3103yt@gmail.com>2023-07-12 09:06:10 +0200
commit259264b966b3fde0cfcfb44e8047206c58917268 (patch)
tree056ac7957938aa04f4494beddb9a047c4af11484 /apps/files/lib/Capabilities.php
parent46284f1696700c2553d8d2f5340ad3bcbad08470 (diff)
downloadnextcloud-server-259264b966b3fde0cfcfb44e8047206c58917268.tar.gz
nextcloud-server-259264b966b3fde0cfcfb44e8047206c58917268.zip
files: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/files/lib/Capabilities.php')
-rw-r--r--apps/files/lib/Capabilities.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/lib/Capabilities.php b/apps/files/lib/Capabilities.php
index 5cb976a47be..dc2aae6acfc 100644
--- a/apps/files/lib/Capabilities.php
+++ b/apps/files/lib/Capabilities.php
@@ -38,12 +38,14 @@ class Capabilities implements ICapability {
/**
* Return this classes capabilities
+ *
+ * @return array{files: array{bigfilechunking: bool, blacklisted_files: array<mixed>}}
*/
public function getCapabilities() {
return [
'files' => [
'bigfilechunking' => true,
- 'blacklisted_files' => $this->config->getSystemValue('blacklisted_files', ['.htaccess'])
+ 'blacklisted_files' => (array)$this->config->getSystemValue('blacklisted_files', ['.htaccess'])
],
];
}