Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Fix for Warning: count(): Parameter must be an array or an object that implements Countable in H2P\Request->__construct() #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ricardoee
Copy link

@ricardoee ricardoee commented Sep 12, 2019

PHP7 compatibility fix: Check $cookie is an array before performing a count on it.

PHP7 compatibility fix: Check $cookie is an array before performing a count on it.  >=PHP7 outputs; "Warning: count(): Parameter must be an array or an object that implements Countable in H2P\Request->__construct()"
@ricardoee ricardoee changed the title Update Request.php Fix Warning: count(): Parameter must be an array or an object that implements Countable in H2P\Request->__construct() Sep 12, 2019
@ricardoee ricardoee changed the title Fix Warning: count(): Parameter must be an array or an object that implements Countable in H2P\Request->__construct() Fix for Warning: count(): Parameter must be an array or an object that implements Countable in H2P\Request->__construct() Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant