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

Update route requirements docblock #2411

Merged
merged 1 commit into from
Apr 23, 2024
Merged

Conversation

vracini
Copy link
Contributor

@vracini vracini commented Apr 17, 2024

Fixes Phpstan error when using backed enums on route requirements.

It currently fails with Parameter $requirements of attribute class FOS\RestBundle\Controller\Annotations\Post constructor expects array<string>, array<string, Symfony\Component\Routing\Requirement\EnumRequirement> given.

@goetas goetas merged commit d2a0cb9 into FriendsOfSymfony:3.x Apr 23, 2024
11 checks passed
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