php-edifact / edifact-generator

Formatter for EDI messages
GNU Lesser General Public License v3.0
33 stars 28 forks source link

Fixed outdated/wrong code hint #29

Closed gaxweb closed 11 months ago

gaxweb commented 11 months ago

Orders::getOrderDate() doesn't actually accept/expect an array (anymore) but either a string or a DateTime object. See EdifactDate::parseFormat().

sabas commented 11 months ago

Thanks! When I have time I will try to make some work on getting the classes to use the same template...

gaxweb commented 11 months ago

You're welcome. I didn't add argument type definitions, because I'm not sure what the lowest PHP version is that you target.