fix: Joomla 6 event type compatibility (hotfix) #208

Merged
jmiller merged 1 commits from fix/joomla6-event-hotfix into main 2026-06-28 18:48:25 +00:00
@@ -404,7 +404,7 @@ XML;
/**
* Dispatch cross-post when an article is saved and published.
*/
public function onContentAfterSave(\Joomla\CMS\Event\Content\AfterSaveEvent $event): void
public function onContentAfterSave($event): void
{
$context = $event->getContext();
@@ -441,7 +441,7 @@ XML;
/**
* Dispatch cross-post when article state changes to published.
*/
public function onContentChangeState(\Joomla\CMS\Event\Content\ContentChangeStateEvent $event): void
public function onContentChangeState($event): void
{
$context = $event->getContext();