diff --git a/plugins/fields/note/services/provider.php b/plugins/fields/note/services/provider.php index f615cb0ffd8a2..3ff56b64298a6 100644 --- a/plugins/fields/note/services/provider.php +++ b/plugins/fields/note/services/provider.php @@ -15,7 +15,6 @@ use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; -use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Fields\Note\Extension\Note; return new class () implements ServiceProviderInterface { @@ -34,7 +33,6 @@ public function register(Container $container) PluginInterface::class, function (Container $container) { $plugin = new Note( - $container->get(DispatcherInterface::class), (array) PluginHelper::getPlugin('fields', 'note') ); $plugin->setApplication(Factory::getApplication());