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.

Plugin version
11.3.0.252
Operating system
MacOS
Steps to reproduce
Removing the query() from the function eliminates the warning
Relevant log output