Skip to content

Methods now check for array before calling count()#85

Open
GenesisCraig wants to merge 1 commit intojaeksoft:masterfrom
GenesisCraig:patch-1
Open

Methods now check for array before calling count()#85
GenesisCraig wants to merge 1 commit intojaeksoft:masterfrom
GenesisCraig:patch-1

Conversation

@GenesisCraig
Copy link

Otherwise, if we try to use count() when $fieldName is not a countable entity, count() will throw an exception in PHP-7.2 or higher.

…re counting elements.

Otherwise, if we try to use count() when $fieldName is not a countable entity, count() will throw an exception in PHP-7.2 or higher.
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.

1 participant