Skip to content

Commit

Permalink
修复 fpm 模式 Response->setCookie() 问题 #141
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurunsoft committed Sep 3, 2021
1 parent 0defb39 commit 930b683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Message/FpmResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function withCookie(string $key, string $value, int $expire = 0, string $
*/
public function setCookie(string $key, string $value, int $expire = 0, string $path = '/', string $domain = '', bool $secure = false, bool $httponly = false): self
{
parent::withCookie($key, $value, $expire, $path, $domain, $secure, $httponly);
parent::setCookie($key, $value, $expire, $path, $domain, $secure, $httponly);
$this->changedCookieNames[$key] = true;

return $this;
Expand Down

0 comments on commit 930b683

Please sign in to comment.