mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
test: patch phpstan error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
parent
c7c86a77e9
commit
65390a4fc0
@ -44,7 +44,6 @@ class LoadLikesRelationship
|
||||
$loadable = null;
|
||||
|
||||
if ($data instanceof Discussion) {
|
||||
// @phpstan-ignore-next-line
|
||||
$loadable = $data->newCollection($data->posts)->filter(function ($post) {
|
||||
return $post instanceof Post;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user