From 24881bc9ac04fb2d76ea922118ddf3a61a22925b Mon Sep 17 00:00:00 2001 From: fshcherbanich Date: Fri, 3 Nov 2023 12:03:00 +0300 Subject: [PATCH] Plugin system hotfix --- src/Core/Plugin/PluginEventDispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Plugin/PluginEventDispatcher.php b/src/Core/Plugin/PluginEventDispatcher.php index d6a5858a..205f5fc8 100644 --- a/src/Core/Plugin/PluginEventDispatcher.php +++ b/src/Core/Plugin/PluginEventDispatcher.php @@ -4,7 +4,6 @@ namespace BumbleDocGen\Core\Plugin; -use BumbleDocGen\Core\Configuration\Configuration; use Monolog\Logger; use Symfony\Component\EventDispatcher\EventDispatcher; @@ -32,5 +31,6 @@ public function dispatch(object $event, string $eventName = null): object } catch (\Exception $e) { $this->logger->error($e->getMessage()); } + return $event; } }