Hey Derick, On Thu, 15 Dec 2022 at 15:27, Derick Rethans <der...@php.net> wrote:
> Hi, > > I've just opened the vote for "More Appropriate Date/Time Exceptions". > It runs until December 31st, 24:00 UTC. > > You can vote at: > https://wiki.php.net/rfc/datetime-exceptions#voting > > cheers, > Derick > > Happy to see this move forward, so I voted YES. In a theoretical patch, I suppose it's possible to refine these types further then? https://github.com/php/php-src/blob/b9cd1cdb4f236b7e336b688b16d58a913f4d5c69/ext/date/php_date.stub.php#L363 Would the stub system be capable of documenting exception types? Greets, Marco Pivetta https://twitter.com/Ocramius https://ocramius.github.io/