change docblock

This commit is contained in:
Dennis Eichhorn 2023-01-26 21:39:23 +01:00
parent 44dc418ca3
commit 778a8f02eb

View File

@ -94,7 +94,16 @@ final class CookieJar
*
* @since 1.0.0
*/
public function set(string $id, mixed $value, int $expire = 86400, string $path = '/', string $domain = null, bool $secure = false, bool $httpOnly = true, bool $overwrite = true) : bool
public function set(
string $id,
mixed $value,
int $expire = 86400,
string $path = '/',
string $domain = null,
bool $secure = false,
bool $httpOnly = true,
bool $overwrite = true
) : bool
{
if ($overwrite || !isset($this->cookies[$id])) {
$this->cookies[$id] = [