ср, 12 нояб. 2025 г. в 22:26, Niels Dossche <[email protected]>:
> > > On 12/11/2025 20:01, Larry Garfield wrote: > > Isn't this what the #[ReturnTypeWillChange] attribute was intended for? > > > > cf: https://wiki.php.net/rfc/internal_method_return_types > > > > That seems like an option C? It's technically a BC break, but people > can just drop an attribute on it to disable the return type check until > 9.0. We did the same for the various internal methods, as noted in that > RFC. > > Parameter checks are not disabled by that attribute, so the BC problem > remains. > Hi everyone, Based on your feedback, I’ve updated both the PR and the RFC by removing the return type declaration from the interface. Thanks for the input.
