> For me the RFC vote should be "allow to dcelare return types on
> constructors/destructors?", then people *can* declare void, but *can* also
> declare other things, but nothing *must* be done. Then it becomes a
> question of coding styles enforcing "void" for all constructors of a
> project for example. I would vote Yes on that.
Isn't this close to what the second vote "Allow void return type on
My understanding is that a "Yes" on this vote will:
1. Allow you to omit a return type (and therefore return whatever you want)
2. Explicitly add void return type
This doesn't do exactly what you ask for (to add any return type) but to me
is close enough; as these are meant to be void according to the PHP docs,
having it as the only explicit return type makes sense to me.