Skip to content

Fix deprecated use of Cookie#145

Open
evertharmeling wants to merge 1 commit intosuncat2000:masterfrom
evertharmeling:patch-1
Open

Fix deprecated use of Cookie#145
evertharmeling wants to merge 1 commit intosuncat2000:masterfrom
evertharmeling:patch-1

Conversation

@evertharmeling
Copy link

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.

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.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant