Add type hint to RefinableCacheableDependencyTrait::addCacheableDependency

Created on 21 March 2025, 21 days ago

Problem/Motivation

Follow up to #3232018: Trigger a deprecation when using \Drupal\Core\Cache\RefinableCacheableDependencyTrait::addCacheableDependency with a non CacheableDependencyInterface object

Add a type hint to the one parameter.

Steps to reproduce

Proposed resolution

See the change record from the originating issue for details.

Remaining tasks

Postponed on 12.x branch
Create MR
Review
Commit

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Postponed

Version

11.0 🔥

Component

cache system

Created by

🇳🇿New Zealand quietone

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

Comments & Activities

Production build 0.71.5 2024