Commit d3bf55d
committed
minor symfony#61112 [HttpKernel][Security] Refactor: use
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#60395 (comment))
Commits
-------
6769c9a [HttpKernel][Security] Refactor: use `getAttributes` with argumentgetAttributes with argument (santysisi)File tree
3 files changed
+3
-5
lines changed- src/Symfony/Component
- HttpKernel/EventListener
- Security/Http/EventListener
3 files changed
+3
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments