You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unrelated. But I also noticed PHPantom shows errors on files that arent open in the editor. Like in this instance I hovered the 'orderBy()method in Cursor so it shows the method signature in a popover. And my console got filled with PHPAntom type_mismatch_argument errors from the LaravelDatabase/Query/Builder.php` file.
Activity
[-]Bogus error on Eloquent[/-][+]Bogus error on Eloquent orderBy()[/+]fix(diagnostics): resolve literal types for argument type checking
fix(diagnostics): resolve literal types for argument type checking
CicerBro commentedon Jul 4, 2026
Many thanks, again :-) Will make a new issue for the second "bug" in a moment.
CicerBro commentedon Jul 27, 2026
This error seems to have returned in the latest build from master @calebdw
"message": "Argument 2 ($direction) expects SortDirection|'asc'|'desc', got string"fix(diagnostics): narrow literal types through compound expressions