We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8865856 commit 0462823Copy full SHA for 0462823
src/EventListener/BreadcrumbListener.php
@@ -215,7 +215,7 @@ private function getRouteInformation(string $name): ?array
215
* In the case of multiple methods defined per controller,
216
* explode the controller name and method
217
*/
218
- if (strpos('::', $route->getDefault('controller')) > 0) {
+ if (strpos($route->getDefault('_controller'), '::') > 0) {
219
$chunk = explode('::', $route->getDefault('_controller'));
220
$controller = $chunk[0];
221
$method = $chunk[1];
0 commit comments