Fix DateTime case

This commit is contained in:
Yassine Guedidi 2022-05-08 14:12:35 +02:00
parent d510dc6c98
commit c15a3e5340
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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())