Problem/Motivation

TypeError: Drupal\cookiepro_plus\Utility\CookieProHelper::__construct(): Argument #2 ($aliasManager) must be of type Drupal\path_alias\AliasManager, Drupal\workspaces\WorkspacesAliasManager given

Steps to reproduce

1. Enable cookiepro_plus 1.1.0 on a Drupal 11 site
2. Enable Workspaces

Proposed resolution

The typehint should use the interface. See attached patch/MR

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fraserthompson created an issue. See original summary.

andreasderijcke’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

andreasderijcke’s picture

Thanks for reporting!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.