Skip to content

Commit c4938bd

Browse files
Fix Psalm type error
Signed-off-by: Christoph Wurst <[email protected]>
1 parent b4d667f commit c4938bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/Database/Repositories/ApplicantRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function findForUser(User $user)
4444
$direct = $user->applicants()->get();
4545
$indirect = $user->associationApplicants()->get();
4646

47-
$all = $direct->merge($indirect);
47+
$all = $direct->merge($indirect->all());
4848
$all->sortBy('id');
4949

5050
return $all;

0 commit comments

Comments
 (0)