mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 15:22:12 +08:00
Remove unnecessary method call
This is already the default value in the base SetCookie class.
This commit is contained in:
parent
817c2dda0e
commit
891d0990be
@ -49,7 +49,6 @@ class CookieFactory
|
|||||||
->withMaxAge($maxAge)
|
->withMaxAge($maxAge)
|
||||||
->withPath(array_get($url, 'path') ?: '/')
|
->withPath(array_get($url, 'path') ?: '/')
|
||||||
->withSecure(array_get($url, 'scheme') === 'https')
|
->withSecure(array_get($url, 'scheme') === 'https')
|
||||||
->withHttpOnly(true)
|
->withHttpOnly(true);
|
||||||
->withDomain(null);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user