Lazy should typehint ModuleHandler interface rather than a specific implementation

Created on 6 September 2022, almost 2 years ago
Updated 25 September 2023, 9 months 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.69.0 2024