mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
fix(psalm): Fix return type of TokenService::getTokens
Signed-off-by: Carl Schwan <carlschwan@kde.org>
This commit is contained in:
parent
a430702caa
commit
58de51160c
1 changed files with 5 additions and 1 deletions
|
|
@ -65,7 +65,11 @@ class TokenService {
|
|||
*
|
||||
* @param WebhookListener $webhookListener
|
||||
* @param ?string $triggerUserId the user that triggered the webhook call
|
||||
* @return array{user_ids?:array<string,string>,user_roles?:array{owner?:array<string,string>,trigger?:array<string,string>}}
|
||||
* @return array{
|
||||
* user_ids?: array<string, array{baseUrl: string, token: string, userId: mixed}>,
|
||||
* trigger?: array{baseUrl: string, token: string, userId: string},
|
||||
* owner?: array{baseUrl: string, token: string, userId: string},
|
||||
* }
|
||||
*/
|
||||
public function getTokens(WebhookListener $webhookListener, ?string $triggerUserId): array {
|
||||
$tokens = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue