aboutsummaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib/Capabilities.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sharebymail/lib/Capabilities.php')
-rw-r--r--apps/sharebymail/lib/Capabilities.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sharebymail/lib/Capabilities.php b/apps/sharebymail/lib/Capabilities.php
index 5b489b7d790..67a0ec7a9de 100644
--- a/apps/sharebymail/lib/Capabilities.php
+++ b/apps/sharebymail/lib/Capabilities.php
@@ -24,7 +24,7 @@ class Capabilities implements ICapability {
/**
* @return array{
- * files_sharing: array{
+ * files_sharing?: array{
* sharebymail: array{
* enabled: bool,
* send_password_by_mail: bool,
@@ -41,7 +41,7 @@ class Capabilities implements ICapability {
* },
* }
* }
- * }|array<empty>
+ * }
*/
public function getCapabilities(): array {
if (!$this->appManager->isEnabledForUser('files_sharing')) {