Details
-
Bug
-
Resolution: Fixed
-
High
-
1.7.7
-
None
-
None
Description
In Symfony, controller can be a closure, in addition to referencing the controller with 'service:method' or 'Bundle:Controller:Action'.
Using closure as a controller results in a warning that strpos cannot be used because the argument is not a string.
The error comes from the view builder system that assumes that the controller is always a string.