Skip to content

Relations do not infer the type correctly when using without () #875

@haringsrob

Description

@haringsrob

Cannot seem to figure out why. This should have type Tournament|null.

The method is properly typed as you can see, there is also a vendor/_laravel_ide/_model_helpers.php file, but that does not seem to be used.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions