mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 23:08:41 +00:00
change docblock
This commit is contained in:
parent
44dc418ca3
commit
778a8f02eb
|
|
@ -94,7 +94,16 @@ final class CookieJar
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @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])) {
|
if ($overwrite || !isset($this->cookies[$id])) {
|
||||||
$this->cookies[$id] = [
|
$this->cookies[$id] = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user