Skip to content

fix: array return for invokable Controllers#6972

Open
alessandro-podo wants to merge 3 commits intoEasyCorp:4.xfrom
alessandro-podo:4.x
Open

fix: array return for invokable Controllers#6972
alessandro-podo wants to merge 3 commits intoEasyCorp:4.xfrom
alessandro-podo:4.x

Conversation

@alessandro-podo
Copy link

If the route name passed in "MenuItem::linkToRoute" matches a invoked controller, an array is returned instead of an String.

This is the easiest way to intercept this.

Tested with Symfony 7.3.
Since there are no tests for it yet, I can't extend anything, and I don't have enough knowledge of the code base to create new tests.

alessandro-podo

This comment was marked as off-topic.

alessandro-podo

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant