messente / messente-omnichannel-php

Deprecated in favour of messente-api-php library: https://github.com/messente/messente-api-php
1 stars 1 forks source link

Syntax error in Model/Err #5

Open TonisOrmisson opened 5 years ago

TonisOrmisson commented 5 years ago

Model/Err contains integer constants which will throw exceptions. Eg I am trying to get a retrieveDeliveryReport() from DeliveryReportApi and I get

Exception 'ParseError' with message 'syntax error, unexpected '1' (T_LNUMBER)'

in /var/www/html/vendor/messente/messente-omnichannel-php/lib/Model/Err.php:47
UkuLoskit commented 5 years ago

Hello, Tõnis!

Thanks for reporting this issue. We've released a new version which should address this issue: https://packagist.org/packages/messente/messente-omnichannel-php#1.0.3

Let me know if this fixes your issue.