Page MenuHomeDevCentral

Restrict return type
ClosedPublic

Authored by dereckson on Oct 22 2025, 21:10.
Tags
None
Referenced Files
F48947635: D3802.diff
Wed, Sep 9, 14:18
Unknown Object (File)
Tue, Sep 8, 10:37
Unknown Object (File)
Sat, Sep 5, 22:21
Unknown Object (File)
Wed, Sep 2, 01:40
Unknown Object (File)
Tue, Sep 1, 18:50
Unknown Object (File)
Tue, Sep 1, 13:50
Unknown Object (File)
Mon, Aug 31, 04:41
Unknown Object (File)
Sun, Aug 30, 10:15
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