Skip to content

Commit 911113f

Browse files
authored
Changed event type for integrated help (#2974)
1 parent 0c6863f commit 911113f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code_samples/back_office/menu/menu_item/src/EventSubscriber/HelpMenuSubscriber.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace App\EventSubscriber;
66

7+
use Ibexa\AdminUi\Menu\Event\ConfigureMenuEvent;
78
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
8-
use Symfony\Contracts\EventDispatcher\Event;
99

1010
final class HelpMenuSubscriber implements EventSubscriberInterface
1111
{
@@ -21,7 +21,7 @@ public static function getSubscribedEvents(): array
2121
];
2222
}
2323

24-
public function onHelpMenuConfigure(Event $event): void
24+
public function onHelpMenuConfigure(ConfigureMenuEvent $event): void
2525
{
2626
$menu = $event->getMenu();
2727

0 commit comments

Comments
 (0)