Skip to content

Commit

Permalink
Merge pull request #970 from spiral/hotfix/event-dispatcher-rebinding
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Aug 16, 2023
1 parent 42cf2d7 commit 8805c42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bootloader/EventsBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ private function initEventDispatcher(
$core->addInterceptor($interceptor);
}

$container->removeBinding(EventDispatcherInterface::class);
$container->bindSingleton(EventDispatcherInterface::class, new EventDispatcher($core));
}

Expand Down

0 comments on commit 8805c42

Please sign in to comment.