Lazy should typehint ModuleHandler interface rather than a specific implementation

Created on 6 September 2022, about 2 years ago
Updated 25 September 2023, about 1 year ago

Problem/Motivation

Use Dependency Injection to provide the appropriate object to the Service.

Steps to reproduce

Install this module Hook Events Dispatcher

An error is thrown when the content is using Lazy Load module:

See log file attached "Lazy_Hook_Event_Dispatcher_issue.txt"

Proposed resolution

Replace Class moduleHandler with its Interface moduleHandlerInterface.

Remaining tasks

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

3.11

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024