diff --git a/Plugin.php b/Plugin.php index bdd49e8..9d98568 100644 --- a/Plugin.php +++ b/Plugin.php @@ -23,6 +23,7 @@ namespace Mibew\Mibew\Plugin\TitleNotification; +use Mibew\EventDispatcher\EventDispatcher; use Symfony\Component\HttpFoundation\Request; /** @@ -90,7 +91,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi public function run() { // Attach CSS and JS files of the plugin to chat window. - $dispatcher = \Mibew\EventDispatcher::getInstance(); + $dispatcher = EventDispatcher::getInstance(); $dispatcher->attachListener('pageAddJS', $this, 'attachJsFiles'); }