Skip to content

Commit d6bb4af

Browse files
committed
chore(ci): fix wrong type annotations
Signed-off-by: grnd-alt <git@belakkaf.net>
1 parent 2d3a3b9 commit d6bb4af

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Service/FileService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function extendData(Attachment $attachment) {
8383
}
8484

8585
/**
86-
* @return array
86+
* @return array|null
8787
* @throws StatusException
8888
*/
8989
private function getUploadedFile() {

lib/Service/FilesAppService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public function createFromImport(Attachment $attachment, string $content): Attac
332332
}
333333

334334
/**
335-
* @return array
335+
* @return array|null
336336
* @throws StatusException
337337
*/
338338
private function getUploadedFile() {

lib/Service/PermissionService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function findUsers($boardId, $refresh = false) {
303303
continue;
304304
}
305305
foreach ($group->getUsers() as $user) {
306-
$users[(string)$user->getUID()] = new User($user->getUID(), $this->userManager);
306+
$users[$user->getUID()] = new User($user->getUID(), $this->userManager);
307307
}
308308
}
309309

0 commit comments

Comments
 (0)