getSubscribedEvents() must be compatible

Created on 11 September 2023, about 1 year ago
Updated 21 September 2023, about 1 year ago

I got this error in Drupal 10.1

Fatal error: Declaration of Drupal\contact_default_fields_override\Routing\RouteSubscriber::getSubscribedEvents() must be compatible with Drupal\Core\Routing\RouteSubscriberBase::getSubscribedEvents(): array in /var/www/html/web/modules/contrib/contact_default_fields_override/src/Routing/RouteSubscriber.php on line 30

public static function getSubscribedEvents() : array {
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Greg Boggs Portland Oregon

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

Comments & Activities

Production build 0.71.5 2024