Skip to content
Snippets Groups Projects
Commit 86a0a493 authored by Emmanuel Cortes's avatar Emmanuel Cortes
Browse files

Issue #3340685 by emacoti: Fix eventDispatcher->dispatch to use new argument order

parent 7f784848
No related branches found
Tags 8.x-1.0 8.x-1.0-alpha8
No related merge requests found
......@@ -108,7 +108,7 @@ class ComponentDiscovery extends ExtensionDiscovery implements ComponentDiscover
// Try to get search dirs from subscribers.
$event = new PdbDiscoveryEvent($search_dirs);
$this->eventDispatcher->dispatch(PdbDiscoveryEvent::SEARCH_DIRS, $event);
$this->eventDispatcher->dispatch($event, PdbDiscoveryEvent::SEARCH_DIRS);
// Get the updated dicovery path from subscribers.
$search_dirs = $event->getDirs();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment