Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: better support for custom casts #244

Open
enkay opened this issue Feb 10, 2025 · 0 comments
Open

[Feature]: better support for custom casts #244

enkay opened this issue Feb 10, 2025 · 0 comments

Comments

@enkay
Copy link

enkay commented Feb 10, 2025

Feature Description

Intelephense seems to struggle with laravel's custom casts.

A model property with a custom cast that returns a string from the get method, used as an argument in a method that expects a string, will get a squiggly line saying string expected but found CastClassName.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant