Fix return type on HookCollectorPass::collectAllHookImplementations()

Created on 1 November 2024, 5 months ago

Problem/Motivation

https://www.drupal.org/project/drupal/issues/3483899#comment-15841078 πŸ› module_implements_alter is not supported by OOP hooks Active

The docblock return type hint for HookCollectorPass::collectAllHookImplementations(): @return \Drupal\Core\Extension\HookCollectorPass has the wrong namespace. It probably should be @return $this. Is it worth worth its own issue?

Pretty sure this qualifies for novice.

Steps to reproduce

Look at docblock

Proposed resolution

Fix it

Remaining tasks

Fix it

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024