Skip to content

Commit

Permalink
✨ update cookie unset types
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed May 29, 2022
1 parent b5a9009 commit 6afa66e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6afa66e

Please sign in to comment.