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

[11.x] Fixes wrong @mixin on SoftDeletes trait #54140

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

nunomaduro
Copy link
Member

Seems that PHPStan / Larastan are unable to pick any model's casts if this @mixin annotation is present. Unsure about the reason, so as quick fix we may remove it.

@taylorotwell taylorotwell merged commit 1c4937f into 11.x Jan 9, 2025
36 of 41 checks passed
@taylorotwell taylorotwell deleted the fix/phpstan-with-model-with-soft-deletes branch January 9, 2025 19:52
@bram-pkg
Copy link
Contributor

bram-pkg commented Jan 11, 2025

Perhaps a @phpstan-require-extends will help here? On the trait.

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

Successfully merging this pull request may close these issues.

3 participants