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 03f3324 commit b1a6307Copy full SHA for b1a6307
src/Name/Generator/ControllerNameGenerator.php
@@ -21,7 +21,7 @@ public static function getSubscribedEvents(): array
21
22
public function onRequest(RequestEvent $event): void
23
{
24
- $this->controller = $event->getRequest()->attributes->get('_controller', '');
+ $this->controller = (string)$event->getRequest()->attributes->get('_controller', '');
25
}
26
27
public function onTerminate(): void
0 commit comments