standardebooks / web

The source code for the Standard Ebooks website.
https://standardebooks.org
Creative Commons Zero v1.0 Universal
234 stars 61 forks source link

Workaround a bug in Safe-PHP that causes PHPStan errors #365

Closed colagrosso closed 3 months ago

colagrosso commented 3 months ago

Thanks for pointing this out in a previous commit and sorry for not noticing the inline PHPDocs you already added to previous Safe\DateTimeImmutable instantiations.

I added a second commit in this PR to remove some leading slashes I mistakenly put in some @throws statements.

acabal commented 3 months ago

Thanks!