diff --git a/plugins/behaviour/compat6/src/Extension/Compat6.php b/plugins/behaviour/compat6/src/Extension/Compat6.php index a7900a597bb37..1834b53ca3080 100644 --- a/plugins/behaviour/compat6/src/Extension/Compat6.php +++ b/plugins/behaviour/compat6/src/Extension/Compat6.php @@ -12,7 +12,6 @@ use Joomla\CMS\Event\Application\AfterInitialiseDocumentEvent; use Joomla\CMS\Plugin\CMSPlugin; -use Joomla\Event\DispatcherInterface; use Joomla\Event\Priority; use Joomla\Event\SubscriberInterface; @@ -49,16 +48,15 @@ public static function getSubscribedEvents(): array /** * Constructor * - * @param DispatcherInterface $dispatcher The event dispatcher - * @param array $config An optional associative array of configuration settings. - * Recognized key values include 'name', 'group', 'params', 'language' - * (this list is not meant to be comprehensive). + * @param array $config An optional associative array of configuration settings. + * Recognized key values include 'name', 'group', 'params', 'language' + * (this list is not meant to be comprehensive). * * @since 5.4.0 */ - public function __construct(DispatcherInterface $dispatcher, array $config = []) + public function __construct(array $config = []) { - parent::__construct($dispatcher, $config); + parent::__construct($config); /** * Normally we should never use the constructor to execute any logic which would