Skip to content

Commit

Permalink
Add annotations for capabilities
Browse files Browse the repository at this point in the history
Signed-off-by: jld3103 <jld3103yt@gmail.com>
  • Loading branch information
provokateurin committed Aug 10, 2023
1 parent d91f9b8 commit 4199caf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Joas Schilling <coding@schilljs.com>
* @author Kate Döen <kate.doeen@nextcloud.com>
*
* @license AGPL-3.0
*
Expand Down Expand Up @@ -36,7 +37,13 @@ class Capabilities implements ICapability {
/**
* Return this classes capabilities
*
* @return array<string, array<string, array<string>>>
* @return array{
* notifications: array{
* ocs-endpoints: string[],
* push: string[],
* admin-notifications: string[],
* },
* }
*/
public function getCapabilities(): array {
return [
Expand Down

0 comments on commit 4199caf

Please sign in to comment.