Skip to content

Conversation

santysisi
Copy link
Contributor

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

@santysisi santysisi requested a review from chalasr as a code owner July 13, 2025 15:37
@carsonbot carsonbot added this to the 7.4 milestone Jul 13, 2025
@santysisi santysisi force-pushed the refactor/use-getAttributes-arg branch from c529f91 to 7e65f8f Compare July 13, 2025 15:39
@carsonbot carsonbot changed the title Refactor: use getAttributes with argument [HttpKernel][Security] Refactor: use getAttributes with argument Jul 13, 2025
@santysisi santysisi force-pushed the refactor/use-getAttributes-arg branch from 7e65f8f to aa5c19a Compare July 13, 2025 21:07
@santysisi santysisi force-pushed the refactor/use-getAttributes-arg branch from aa5c19a to 6769c9a Compare July 15, 2025 10:50
@santysisi
Copy link
Contributor Author

Hi 👋 Thanks so much to both of you for your comments! 😊
I've made the changes based on your suggestions.
Really appreciate the feedback ❤️

@nicolas-grekas
Copy link
Member

Thank you @santysisi.

@nicolas-grekas nicolas-grekas merged commit d3bf55d into symfony:7.4 Jul 15, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants