diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index f4e988e2b..5a00c0dbe 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php @@ -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; diff --git a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php index 54c992cc0..4644912fc 100644 --- a/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php +++ b/tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php @@ -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())