Skip to content

Commit 7dff680

Browse files
authored
Optimize PHP8.1 compatibility (#499)
1 parent 41b8a0b commit 7dff680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Swoole/SwooleClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public function sendResponseHeaders(Response $response, SwooleResponse $swooleRe
195195
$cookie->getDomain() ?? '',
196196
$cookie->isSecure(),
197197
$cookie->isHttpOnly(),
198-
$cookie->getSameSite(),
198+
$cookie->getSameSite() ?? '',
199199
);
200200
}
201201
}

0 commit comments

Comments
 (0)