MobileDetectBundle icon indicating copy to clipboard operation
MobileDetectBundle copied to clipboard

Fix deprecated use of Cookie

Open evertharmeling opened this issue 5 years ago • 0 comments

Fixes the deprecation warning:

The default value of the "$secure" and "$samesite" arguments of "Symfony\Component\HttpFoundation\Cookie::__construct"'s constructor will respectively change from "false" to "null" and from "null" to "lax" in Symfony 5.0, you should define their values explicitly or use "Cookie::create()" instead.

evertharmeling avatar May 27 '20 18:05 evertharmeling