You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
with PHP 7.2 the code in CaptchaService throws warnings when evaluating count($this->captchaSession->getCaptchaKey()) == NULL as count() only accept arrays / countable as argument anymore. I "fixed" it by instead using empty($this->captchaSession->getCaptchaKey()) but I really don't understand this part.
I could provide a PR but am unsure if this code could instead just be deleted?
The text was updated successfully, but these errors were encountered:
Hi,
with PHP 7.2 the code in CaptchaService throws warnings when evaluating
count($this->captchaSession->getCaptchaKey()) == NULL
as count() only accept arrays / countable as argument anymore. I "fixed" it by instead usingempty($this->captchaSession->getCaptchaKey())
but I really don't understand this part.I could provide a PR but am unsure if this code could instead just be deleted?
The text was updated successfully, but these errors were encountered: