mirror of
https://github.com/flarum/core.git
synced 2025-06-24 03:35:01 +02:00
test: patch phpstan error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user