php / doc-es

Spanish translation of the PHP documentation
24 stars 53 forks source link

The return type is wrong in spanish translation #77

Open aliveghost04 opened 7 months ago

aliveghost04 commented 7 months ago

From manual page: https://php.net/datetimeimmutable.createfromformat


The english documentation indicates the return type of the DateTimeImmutable::createFromFormat or date_create_immutable_from_format should be DateTimeImmutable|false but instead indicates DateTimeImmutable which can lead to bugs when not handling the boolean possible return value.

leonardolara commented 3 weeks ago

This is because this page is translated using a reference from May 17th, 2013; many years ago. This happens with almost 1/3 of the Spanish translated pages, which are not updated for a looong time.

aliveghost04 commented 3 weeks ago

I just read the guia.pdf file. I could help with this issue.