php-twinfield / twinfield

PHP 7.3+ Library for using the Twinfield API.
https://accounting.twinfield.com/webservices/documentation/#/
Other
33 stars 77 forks source link

Change $messages default value to an empty array #184

Closed rojtjo closed 3 years ago

rojtjo commented 3 years ago

This prevents a count(): Parameter must be an array or an object that implements Countable warning on PHP 7.2 and above.

willemstuursma commented 3 years ago

Cheers.