Skip to content

[12.x] fix: allow phpstan to understand default value for Request::enum#58529

Merged
taylorotwell merged 1 commit intolaravel:12.xfrom
calebdw:calebdw/push-nlutquxvqsxk
Jan 28, 2026
Merged

[12.x] fix: allow phpstan to understand default value for Request::enum#58529
taylorotwell merged 1 commit intolaravel:12.xfrom
calebdw:calebdw/push-nlutquxvqsxk

Conversation

@calebdw
Copy link
Contributor

@calebdw calebdw commented Jan 28, 2026

Hello!

This allows PHPStan to understand that the value cannot be null when a default is given.

Thanks!

@calebdw
Copy link
Contributor Author

calebdw commented Jan 28, 2026

CI failures appear unrelated

@taylorotwell taylorotwell merged commit 1f30441 into laravel:12.x Jan 28, 2026
22 of 72 checks passed
@calebdw calebdw deleted the calebdw/push-nlutquxvqsxk branch January 28, 2026 15:18
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.

2 participants

Comments