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

Merged
merged 2 commits into from
Nov 4, 2024

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
@dg
Copy link
Member

dg commented Nov 4, 2024

Thanks

@dg dg merged commit 1d9986e into nette:v3.3 Nov 4, 2024
22 of 23 checks passed
@spaze spaze deleted the spaze/setcookie-datetime branch November 4, 2024 14:08
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
2 participants