Incorrect UUID service definition

Created on 28 February 2024, 10 months ago
Updated 14 March 2024, 9 months ago

Problem/Motivation

Fatal error when upgrading to Drupal 10.2.3(not seen in earlier versions)

PHP Fatal error: Uncaught TypeError: Drupal\msqrole\RoleManager::__construct(): Argument #5 ($uuid) must be of type Drupal\Component\Uuid\Php, Drupal\Component\Uuid\Pecl given in /var/www/html/web/modules/contrib/msqrole/src/RoleManager.php:72

Steps to reproduce

Update to latest version of the module - run drush deploy

Proposed resolution

Replace @param \Drupal\Component\Uuid\Php $uuid with @param \Drupal\Component\Uuid\UuidInterface

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom astoker88

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

Comments & Activities

Production build 0.71.5 2024