DateTime->format()
should have the same type-inference then date()
#6550
Labels
DateTime->format()
should have the same type-inference then date()
#6550
https://phpstan.org/r/6e6a9d1c-c848-4c22-bc1b-def3b71e753c
see https://github.com/phpstan/phpstan-src/blob/master/src/Type/Php/DateFunctionReturnTypeExtension.php
same for all aliases mentioned at https://www.php.net/manual/de/datetime.format.php
I can work on it
The text was updated successfully, but these errors were encountered: