diff --git a/composer.json b/composer.json index 4d357109..b459d6a5 100644 --- a/composer.json +++ b/composer.json @@ -34,14 +34,14 @@ ], "require": { "php": ">=8.1", - "spiral/core": "^3.15", - "spiral/encrypter": "^3.15", + "spiral/core": "^3.14.8", + "spiral/encrypter": "^3.14.8", "psr/http-server-middleware": "^1.0" }, "require-dev": { "phpunit/phpunit": "^10.1", "mockery/mockery": "^1.5", - "spiral/http": "^3.15", + "spiral/http": "^3.14.8", "nyholm/psr7": "^1.5", "vimeo/psalm": "^5.9" }, diff --git a/src/CookieQueue.php b/src/CookieQueue.php index 85141f8d..4f3ad7d1 100644 --- a/src/CookieQueue.php +++ b/src/CookieQueue.php @@ -73,11 +73,11 @@ public function __construct( */ public function set( string $name, - string $value = null, - int $lifetime = null, - string $path = null, - string $domain = null, - bool $secure = null, + ?string $value = null, + ?int $lifetime = null, + ?string $path = null, + ?string $domain = null, + ?bool $secure = null, bool $httpOnly = true, ?string $sameSite = null ): self {