Fixes#20371
Both blocks are currently rendered identically. Keeping only one of the two makes it easier to contribute.
Some blocks were elevated to danger.
* 6.1:
[Security] update Voter return type
[DependecyInjection] Added Uses & hints
"Creating Pages" not responsive
[Cache] Add return hint
[Cache] Add use Response & return hint
Update questionhelper.rst
[Cache] Add return hint
Minor
[Cache] Add return hint
[Validation] Add getGroupSequence return hint
[4.4] fix code sample to log out
[Lock] Specify default ttl
* 5.4:
[Security] update Voter return type
[DependecyInjection] Added Uses & hints
"Creating Pages" not responsive
[Cache] Add return hint
[Cache] Add use Response & return hint
Update questionhelper.rst
Minor
[Cache] Add return hint
[4.4] fix code sample to log out
[Lock] Specify default ttl
* 4.4:
[Security] update Voter return type
[DependecyInjection] Added Uses & hints
"Creating Pages" not responsive
[Cache] Add return hint
[Cache] Add use Response & return hint
Minor
[4.4] fix code sample to log out
[Lock] Specify default ttl
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpCache] add validation model ref link
<!--
If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/releases for the list of maintained branches).
If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `6.x` for features of unreleased versions).
-->
Commits
-------
e34c9d070 added validation model ref link
This PR was merged into the 6.2 branch.
Discussion
----------
[HttpKernel] Add #[Cache()] attribute
Fixes#16974.
The only article I didn't update was `http_cache/validation.rst` because it uses lots of PHP logic to set cache headers, so I think it cannot be replicated with PHP attributes.
Commits
-------
189414128 Add #[Cache()] attribute