Skip to content

Commit db13c46

Browse files
committed
Fix psalm
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
1 parent 40dc129 commit db13c46

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/Listener/ContentSecurityPolicyListener.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use OCP\IConfig;
1010
use OCP\Security\CSP\AddContentSecurityPolicyEvent;
1111

12+
/**
13+
* @implements IEventListener<AddContentSecurityPolicyEvent>
14+
*/
1215
class ContentSecurityPolicyListener implements IEventListener {
1316

1417
public function __construct(

lib/Service/DocumensoAPIService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public function getDocumentList($userId): array {
212212
* @param string $baseUrl
213213
* @param string $token
214214
* @param string $endPoint
215-
* @param array<string, string|string[]> $params
215+
* @param array<string, string[]|string|int|bool> $params
216216
* @param string $method
217217
* @return array request result
218218
* @throws Exception

0 commit comments

Comments
 (0)