walkor / workerman

An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

Home Page:http://www.workerman.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Param sameSite in the $response->cookie() should be a string

Qclanton opened this issue · comments

According to documentation, param "SameSite" for cookie can take values "None", "Strict", or "Lax" (documentation) but \Workerman\Protocols\Http\Response::cookie() expects boolean value for this param

Fixed