Skip to content

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
@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