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 symfony#48434 [TwigBridge] Fix casing of getCurrentRoute/getCurrentRouteParameters methods (Kocal)
This PR was merged into the 6.2 branch.
Discussion
----------
[TwigBridge] Fix casing of getCurrentRoute/getCurrentRouteParameters methods
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead -->
| License | MIT
| Doc PR | -
Following of symfony#47535, those two methods were named like this in order to get `app.current_route` and `app.current_route_parameters`, however PHPStorm autocomplete for `app.current_Route` and `app.current_Route_Parameters`.
I'm not sure if this is a PHPStorm-only issue or not.
**Before:**

**After:**
<img width="604" alt="image" src="https://user-images.githubusercontent.com/2103975/205177787-b3e55d95-4a0f-40ea-8b65-a0b3ddc447f0.png">
Commits
-------
67588b3 [TwigBridge] Fix casing of currentRoute/currentRouteParameters methods
0 commit comments