Describe the bug
All cases of app() without an abstract is resolving as null in Intelephense causing code P1006. Rolling back to 1.10.2 and re-indexing resolves the issue.
To Reproduce
app()->environment('production'); // error
app()?->environment('production'); // workaround
app('url')->isValidUrl('some/path'); // seems to work as expected
Expected behavior
Using app() without an abstract should always resolve to the container instance.
Screenshots
Platform and version
macOS 14.1.1
VS Code 1.88.0-insider
Intelephense 1.10.4
Laravel 10.48.4
Describe the bug All cases of
app()
without an abstract is resolving asnull
in Intelephense causing codeP1006
. Rolling back to1.10.2
and re-indexing resolves the issue.To Reproduce
Expected behavior Using
app()
without an abstract should always resolve to the container instance.Screenshots
Platform and version macOS 14.1.1 VS Code 1.88.0-insider Intelephense 1.10.4 Laravel 10.48.4