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;