Add return typehint to \Drupal\Core\DependencyInjection\DeprecatedServicePropertyTrait::__get()

Created on 10 October 2024, 3 months ago

Problem/Motivation

Since we added ✨ Enforce return types in all new methods and functions RTBC we are getting phpstan errors for missing return typehints on any new class that uses \Drupal\Core\DependencyInjection\DeprecatedServicePropertyTrait::__get().

We should add the return typehint and remove the ignore phpstan warnings.

Steps to reproduce

Proposed resolution

Add the return typehint and remove the ignore phpstan warnings.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡¦πŸ‡ΊAustralia kim.pepper πŸ„β€β™‚οΈπŸ‡¦πŸ‡ΊSydney, Australia

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