Skip to content
Snippets Groups Projects
Commit 0a2e9aef authored by Tobias Gross-Vogt's avatar Tobias Gross-Vogt
Browse files

event name in local data event dispatcher now optional

parent 0a5bb7dd
No related branches found
No related tags found
Loading
Pipeline #213034 passed
......@@ -79,7 +79,7 @@ class LocalDataEventDispatcher
/**
* Dispatches the given event.
*/
public function dispatch(Event $event, string $eventName): void
public function dispatch(Event $event, string $eventName = null): void
{
if ($event instanceof LocalDataPreEvent) {
$event->setQueryParameters($this->queryParameters);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment