Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DateTimeInterface to setCookie $expire param #237

Open
wants to merge 2 commits into
base: v3.3
Choose a base branch
from

Conversation

spaze
Copy link
Contributor

@spaze spaze commented Mar 22, 2024

Adds string and DateTimeInterface back to setCookie $expire param .

This is a fix for an undocumented (and possibly unwanted) BC break in 3.3.0.
In version 3.2.x and older, this was the type in the docblock.

Also fix the readme which had a wrong param name.

Close #233

@spaze spaze changed the base branch from master to v3.3 March 22, 2024 02:27
spaze added a commit to spaze/michalspacek.cz that referenced this pull request Mar 30, 2024
…'s $expire param

Could be reverted if this PR is merged and released nette/http#237
spaze added a commit to spaze/michalspacek.cz that referenced this pull request Mar 30, 2024
…'s $expire param

Could be reverted if this PR is merged and released nette/http#237
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.

setCookie() expire type issue
1 participant