Page MenuHomeDevCentral

Restrict return type
ClosedPublic

Authored by dereckson on Oct 22 2025, 21:10.
Tags
None
Referenced Files
F31105082: D3802.diff
Sat, May 30, 10:29
Unknown Object (File)
Wed, May 27, 23:02
Unknown Object (File)
Tue, May 26, 15:17
Unknown Object (File)
Tue, May 26, 14:21
Unknown Object (File)
Tue, May 26, 14:21
Unknown Object (File)
Tue, May 26, 03:54
Unknown Object (File)
Tue, May 26, 02:53
Unknown Object (File)
Mon, May 25, 18:02
Subscribers
None

Details

Summary

When the parent class uses mixed as return type, PHP inheritance model
allows to specify a more precise type in extended classes.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable