mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 02:25:00 +00:00
apply rector rules: symfony **UP TO** 44
This commit is contained in:
@@ -128,7 +128,7 @@ class WidgetRenderingTwig extends AbstractExtension
|
||||
// for old rendering events (deprecated)
|
||||
$event = new DelegatedBlockRenderingEvent($context);
|
||||
|
||||
$this->eventDispatcher->dispatch('chill_block.' . $block, $event);
|
||||
$this->eventDispatcher->dispatch($event, 'chill_block.' . $block);
|
||||
|
||||
return $content . ' ' . $event->getContent();
|
||||
}
|
||||
|
Reference in New Issue
Block a user