You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #61112 [HttpKernel][Security] Refactor: use getAttributes with argument (santysisi)
This PR was merged into the 7.4 branch.
Discussion
----------
[HttpKernel][Security] Refactor: use `getAttributes` with argument
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | no
| License | MIT
Refactored code to consistently use `$event->getAttributes($className)` instead of accessing the full array. This simplifies attribute retrieval and improves readability.
[Reference](symfony/symfony#60395 (comment))
Commits
-------
6769c9a8287 [HttpKernel][Security] Refactor: use `getAttributes` with argument
0 commit comments