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

Commit

Permalink
Update library/Zend/Feed/Writer/Entry.php
Browse files Browse the repository at this point in the history
Strings are not acceptable types for dates. Matches the behaviour of the AbstractFeed class for setting dates there.
  • Loading branch information
rquadling committed Feb 12, 2013
1 parent 68b031b commit 549b9cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Feed/Writer/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function setContent($content)
/**
* Set the feed creation date
*
* @param string|null|DateTime $date
* @param null|integer|DateTime $date
* @throws Exception\InvalidArgumentException
* @return Entry
*/
Expand All @@ -198,7 +198,7 @@ public function setDateCreated($date = null)
/**
* Set the feed modification date
*
* @param string|null|DateTime $date
* @param null|integer|DateTime $date
* @throws Exception\InvalidArgumentException
* @return Entry
*/
Expand Down

0 comments on commit 549b9cd

Please sign in to comment.