Re: Make `always true` SPL methods return void
On Wed, 17 Jun 2020 at 03:00, Gabriel Caruso <carusogabriel34@gmail.com> wrote:
>
> so changing it to void and
> just invoke these methods sounds reasonable to me.
What's the benefit of doing the change?
There will almost certainly be some code somewhere that would be
broken by changing it, so it needs some benefit for doing it.
I strongly suspect just updating the documentation to be correct, and
then leaving the code behaving as it has been for the past decade or
so, would be a better strategy.
cheers
Dan
Ack
Thread (5 messages)