Page MenuHomeDevCentral

Restrict return type
ClosedPublic

Authored by dereckson on Oct 22 2025, 21:10.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 13, 09:12
Unknown Object (File)
Mon, Oct 12, 20:44
Unknown Object (File)
Sun, Oct 11, 16:19
Unknown Object (File)
Sat, Oct 10, 23:33
Unknown Object (File)
Sat, Oct 10, 10:17
Unknown Object (File)
Tue, Oct 6, 09:21
Unknown Object (File)
Mon, Oct 5, 04:48
Unknown Object (File)
Sun, Oct 4, 19:11
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