mirror of
https://github.com/flarum/framework.git
synced 2025-05-25 16:19:57 +08:00
Remove unnecessary method call
This is already the default value in the base SetCookie class.
This commit is contained in:
@ -49,7 +49,6 @@ class CookieFactory
|
||||
->withMaxAge($maxAge)
|
||||
->withPath(array_get($url, 'path') ?: '/')
|
||||
->withSecure(array_get($url, 'scheme') === 'https')
|
||||
->withHttpOnly(true)
|
||||
->withDomain(null);
|
||||
->withHttpOnly(true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user