From 5890bcbd0295b407b3c684b45abdc39be6f87850 Mon Sep 17 00:00:00 2001 From: Levi Jacobs Date: Tue, 12 Aug 2025 20:49:34 +0200 Subject: [PATCH] Change SetCookie constructor from private to protected to allow inheritance --- src/Dflydev/FigCookies/SetCookie.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dflydev/FigCookies/SetCookie.php b/src/Dflydev/FigCookies/SetCookie.php index 23283a7..5114fc2 100644 --- a/src/Dflydev/FigCookies/SetCookie.php +++ b/src/Dflydev/FigCookies/SetCookie.php @@ -43,7 +43,7 @@ class SetCookie /** @var SameSite|null */ private $sameSite; - private function __construct(string $name, ?string $value = null) + protected function __construct(string $name, ?string $value = null) { $this->name = $name; $this->value = $value;