TagManager calls parent::__construct() with incorrect arguments

Created on 27 March 2025, 9 days ago

Problem/Motivation

TagManager.php is calling parent::__construct() like this:

parent::__construct(FALSE, $namespaces, $module_handler, $cache_backend);

However, the 4th argument of that method is the plugin interface:

public function __construct($subdir, \Traversable $namespaces, ModuleHandlerInterface $module_handler, $plugin_interface = NULL, ?string $plugin_definition_attribute_name = NULL, string|array|null $plugin_definition_annotation_name = NULL, array $additional_annotation_namespaces = [])

This is breaking some drush commands I have; not sure what else would be affected by this.

Steps to reproduce

Run drush gen phpstorm-meta

Proposed resolution

Fix construct method in TagManager

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dabblela

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