Skip to content

Commit

Permalink
Update SwooleClient.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Feb 18, 2025
1 parent d12227b commit 4ce3205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Swoole/SwooleClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public function sendResponseHeaders(Response $response, SwooleResponse $swooleRe
$shouldDelete = (string) $cookie->getValue() === '';

$method = $cookie->isRaw() ? 'rawcookie' : 'cookie';

$params = [
$cookie->getName(),
$shouldDelete ? 'deleted' : $cookie->getValue(),
Expand Down

0 comments on commit 4ce3205

Please sign in to comment.