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

Fix PHP8 return type incompatibility #17

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

plotbox-io
Copy link
Contributor

This change fixes the fatal error when running this library on PHP >= 8.0 (since the more strict LSP rules). Simply have added the correct return types to the count() methods to resolve.

@plotbox-io plotbox-io mentioned this pull request Aug 2, 2023
@sunspikes sunspikes merged commit f4f3b59 into sunspikes:master Apr 2, 2024
@sunspikes
Copy link
Owner

Thank you!

@sebclick
Copy link

sebclick commented Apr 9, 2024

Hello,

Thanks for the fix and the merge.

@sunspikes Is it planned a new release to integrate this modifications ?

Thanks

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

Successfully merging this pull request may close these issues.

3 participants