Type arguments with interface instead of classes

Created on 18 February 2025, 4 days ago

Problem/Motivation

For example when the hook_event_dispatcher is enabled:

TypeError</em>: Drupal\section_library\Controller\ChooseSectionFromLibraryController::__construct(): Argument #2 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /project/app/modules/contrib/section_library/src/Controller/ChooseSectionFromLibraryController.php on line 109 in
πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024