diff --git a/lib/Phpfastcache/Drivers/Cookie/Driver.php b/lib/Phpfastcache/Drivers/Cookie/Driver.php index bf2d10bba..7ce84ad2c 100644 --- a/lib/Phpfastcache/Drivers/Cookie/Driver.php +++ b/lib/Phpfastcache/Drivers/Cookie/Driver.php @@ -49,7 +49,7 @@ public function driverCheck(): bool */ protected function driverConnect(): bool { - return !(!\array_key_exists('phpFastCache', $_COOKIE) && !@setcookie('phpFastCache', 1, 10)); + return !(!\array_key_exists('phpFastCache', $_COOKIE) && !@setcookie('phpFastCache', '1', 10)); } /**