mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-23 08:06:33 +00:00
Fix DateTime case
This commit is contained in:
parent
d510dc6c98
commit
c15a3e5340
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue