From 6afa66e799b48e55eaaf43642f3b5478def8b446 Mon Sep 17 00:00:00 2001 From: Michael Darko Date: Sun, 29 May 2022 10:34:06 +0000 Subject: [PATCH] :sparkles: update cookie unset types --- src/Response.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Response.php b/src/Response.php index 7176205..23451cc 100755 --- a/src/Response.php +++ b/src/Response.php @@ -274,9 +274,9 @@ public function withCookie(string $name, string $value, string $expire = "7 days /** * Delete cookie * - * @param string $name The name of the cookie + * @param mixed $name The name of the cookie */ - public function withoutCookie(string $name) + public function withoutCookie($name) { if (!class_exists('Leaf\Http\Cookie')) { Headers::contentHtml();