ReturnTypeWillChange Is For All

no-email (Damien Seguy), Damien Seguy
Fri, 23 Dec 2022 00:00:00 +0000

ReturnTypeWillChange is an attribute that tells PHP that the return type of the related method is different from the defined by the PHP native methods. In fact, this attribute may also be used on custom interfaces, to skip the type checks.