Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

PR for #6673. Allow to set DateTimeObject for SetCookie Expires #6923

Merged
merged 4 commits into from
Nov 25, 2014
Merged

PR for #6673. Allow to set DateTimeObject for SetCookie Expires #6923

merged 4 commits into from
Nov 25, 2014

Conversation

dkemper
Copy link
Contributor

@dkemper dkemper commented Nov 24, 2014

PR for #6673

@dkemper dkemper changed the title PR for #6673. Allow to set DateTimeObject for etCookie Expires PR for #6673. Allow to set DateTimeObject for SetCookie Expires Nov 24, 2014
@@ -167,7 +167,7 @@ public static function fromString($headerLine, $bypassHeaderFieldName = false)
*
* @param string $name
* @param string $value
* @param int|string $expires
* @param int|string|\DateTime $expires
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alignment to other parameters. \DateTime can be imported so DateTime can be used instead of \DateTime (also for all other instances in this file and the test file).

@Ocramius Ocramius self-assigned this Nov 25, 2014
@Ocramius Ocramius added this to the 2.3.4 milestone Nov 25, 2014
Ocramius added a commit that referenced this pull request Nov 25, 2014
Ocramius added a commit that referenced this pull request Nov 25, 2014
Ocramius added a commit that referenced this pull request Nov 25, 2014
@Ocramius Ocramius merged commit bc3f51e into zendframework:master Nov 25, 2014
Ocramius added a commit that referenced this pull request Nov 25, 2014
@Ocramius
Copy link
Member

@dkemper merged, thank you!

master: bc3f51e
develop: b51d239

gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
…dding missing `@group` annotations for newly introduced tests
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants