CheckUserRolePermissionEvent::checkUserRoleAccess incorrect typehints

Created on 31 March 2023, about 1 year ago
Updated 16 May 2023, about 1 year ago

Problem/Motivation

TypeError: Drupal\jsonapi_role_access\EventSubscriber\CheckUserRolePermissionEvent::checkUserRoleAccess(): Argument #1 ($event) must be of type Symfony\Contracts\EventDispatcher\Event, Symfony\Component\HttpKernel\Event\RequestEvent given in Drupal\jsonapi_role_access\EventSubscriber\CheckUserRolePermissionEvent->checkUserRoleAccess() (line 71 of modules/contrib/jsonapi_role_access/src/EventSubscriber/CheckUserRolePermissionEvent.php).

Steps to reproduce

Update to lastest 1.1.0 release

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇧🇪Belgium stijnhau

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

Comments & Activities

Production build 0.69.0 2024