mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
change docblock
This commit is contained in:
parent
44dc418ca3
commit
778a8f02eb
|
|
@ -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] = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user