Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.2 - Warning: count(): Parameter must be an array or an object that implements Countable #30

Closed
SebastienTainon opened this issue May 16, 2018 · 0 comments

Comments

@SebastienTainon
Copy link
Contributor

Hello,

In src/Payline/PaylineSDK.php at line 816, the count() function is used on something that may not be countable. It works in PHP7.1 but this is deprecated in PHP7.2 and triggers a warning in the code.

See http://php.net/manual/en/migration72.incompatible.php for reference

Could it be fixed for PHP7.2 compatibility please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants