Hello.
An error occurs when trying to check if a cookie exists.
code:
$this->getRequest()->getCookieCollection()->has('something');
Error:
# Cake\Http\Cookie\Cookie::__construct(): Argument #1 ($name) must be of type string, int given, called in vendor/cakephp/cakephp/src/Http/Cookie/CookieCollection.php on line 90
The error seems to occur when the name of the cookie is int.
I don’t know why there is an int cookie in the cookie, but there seems to be a case where it enters somewhere.
Is there any way to successfully confirm the existence of an int cookie even if it exists?
Version: CakePHP 4.3.7