GroupMembershipRequestValidator $context type missing

Created on 17 February 2025, 8 days ago

Problem/Motivation

Why even redefining that property if it's defined in the parent class?

Getting
PHP Fatal error: Type of Drupal\grequest\Plugin\Validation\Constraint\GroupMembershipRequestValidator::$context must be Symfony\Component\Validator\Context\ExecutionContextInterface (as in class Symfony\Component\Validator\ConstraintValidator) in /var/www/html/web/modules/contrib/grequest/src/Plugin/Validation/Constraint/GroupMembershipRequestValidator.php on line 11
On Drupal 11.2

Proposed resolution

Remove that property definition.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.2

Component

Code

Created by

🇵🇱Poland Graber

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