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

Use Symfony Response const #1905

Conversation

louismariegaborit
Copy link
Contributor

No description provided.

@dunglas
Copy link
Member

dunglas commented Feb 22, 2024

I find this less readable. The YAML tag is a bit esoteric and these values are well-known values defined by the HTTP protocol (not Symfony-specific) that can't change, so I don't think there is added value to use constants here.

@louismariegaborit
Copy link
Contributor Author

Can I homogenize the documentation by replacing const with direct value ?

@soyuka
Copy link
Member

soyuka commented Mar 18, 2024

Agree we don't want this patch or only for symfony docs but we don't have this yet. Thanks!

@soyuka soyuka closed this Mar 18, 2024
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