php-edifact / edifact-generator

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

Fixed outdated/wrong code hint #29

Closed gaxweb closed 1 year ago

gaxweb commented 1 year ago

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

sabas commented 1 year ago

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

gaxweb commented 1 year 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.