Skip to content

[Bug]: Adding query() triggers warning of Incompatible return type #1266

@buzkall

Description

@buzkall

Bug description

In a Laravel model, when running an Eloquent query, if I add the function query(), I get the warning of incompatible type suggesting that the return type should be the Laravel idea helper file.

Image

Plugin version

11.3.0.252

Operating system

MacOS

Steps to reproduce

Removing the query() from the function eliminates the warning

Relevant log output

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions