[META] Stronger Typing for Entity API

Created on 18 April 2024, 10 months ago
Updated 30 April 2024, 9 months ago

Problem/Motivation

Currently the majority of the Entity API methods (especially id()) do not strongly indicate their return type and in many cases allow a wider return type than is ever utilized.

We should strength the return type.

This is also required for eventual PHPStan L9 coverage

Steps to reproduce

Proposed resolution

Remaining tasks

πŸ“Œ UserInterface::id(), AccountInterface::id() should return int to match typehints Needs work

User interface changes

N/A

API changes

See child issues

Data model changes

See child issues

Release notes snippet

See child issues

🌱 Plan
Status

Active

Version

11.0 πŸ”₯

Component
EntityΒ  β†’

Last updated about 2 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States cmlara

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

Comments & Activities

Production build 0.71.5 2024