Skip to content

Commit 6afa66e

Browse files
committed
✨ update cookie unset types
1 parent b5a9009 commit 6afa66e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Response.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,9 @@ public function withCookie(string $name, string $value, string $expire = "7 days
274274
/**
275275
* Delete cookie
276276
*
277-
* @param string $name The name of the cookie
277+
* @param mixed $name The name of the cookie
278278
*/
279-
public function withoutCookie(string $name)
279+
public function withoutCookie($name)
280280
{
281281
if (!class_exists('Leaf\Http\Cookie')) {
282282
Headers::contentHtml();

0 commit comments

Comments
 (0)