Tighten typehint in UserSession::hasPermission() and User::hasPermission()

Created on 17 January 2024, about 1 year ago
Updated 29 July 2024, 6 months ago

Problem/Motivation

Follow-up from 🐛 TypeError: PermissionChecker::hasPermission(): $permission must be of type string Needs review , created as per https://www.drupal.org/about/core/policies/core-change-policies/drupal-d...

Proposed resolution

Add type-hint to the methods according to #step-2-implement-the-new-signature

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Closed: outdated

Version

11.0 🔥

Component
Base 

Last updated about 5 hours ago

Created by

🇧🇪Belgium kristiaanvandeneynde Antwerp, Belgium

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