Fix getSubscribedEvents() compatibility

Created on 4 December 2023, 7 months ago

The current module version is not compatibile with latest D10.1.x due to a wrong function declaration which throws the following error:

Declaration of Drupal\menu_perms_per_menu\Routing\MenuPermsPerMenuRouteSubscriber::getSubscribedEvents() must be compatible with Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents(): array

The attached patch fix the error.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇹Italy FiNeX

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024