mirror of https://github.com/wallabag/wallabag.git
Fix DateTime case
This commit is contained in:
parent
d510dc6c98
commit
c15a3e5340
|
@ -881,7 +881,7 @@ class Entry
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \Datetime
|
||||
* @return \DateTime
|
||||
*/
|
||||
public function getPublishedAt()
|
||||
{
|
||||
|
@ -891,7 +891,7 @@ class Entry
|
|||
/**
|
||||
* @return Entry
|
||||
*/
|
||||
public function setPublishedAt(\Datetime $publishedAt)
|
||||
public function setPublishedAt(\DateTime $publishedAt)
|
||||
{
|
||||
$this->publishedAt = $publishedAt;
|
||||
|
||||
|
|
|
@ -462,7 +462,7 @@ class ContentProxyTest extends TestCase
|
|||
$this->assertContains('no-cache', $entry->getHeaders());
|
||||
}
|
||||
|
||||
public function testWithForcedContentAndDatetime()
|
||||
public function testWithForcedContentAndDateTime()
|
||||
{
|
||||
$tagger = $this->getTaggerMock();
|
||||
$tagger->expects($this->once())
|
||||
|
|
Loading…
Reference in New Issue