Files
Mikhail Alferov 7f7fce55c0 DateTimeInterface::format: fix interface and method names (GH-3693)
We must either add the names of the methods of both classes — DateTime and DateTimeImmutable, or replace the name of the method of the DateTime::format class with the name of the interface method — DateTimeInterface::format, and the name of the DateTime class with the name of the interface common to these classes — DateTimeInterface. Otherwise, the description of the `u` parameter behaves as if it does not concern the DateTimeImmutable::format() method (although it is assumed that every PHP programmer knows about this; but in reality not everyone knows).

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-08-31 15:03:31 +02:00

18 KiB