Fix indentation

This commit is contained in:
Oliver Davies 2024-05-03 14:22:39 +01:00
parent 6ee3e91363
commit b4612c3da3

View file

@ -20,18 +20,18 @@ class OpdaviesTwigExtensionTest extends TestCase
{ {
$talk = $this->createTalk( $talk = $this->createTalk(
events: [ events: [
['date' => (new \DateTime('+1 days'))->getTimestamp()], ['date' => (new \DateTime('+1 days'))->getTimestamp()],
], ],
); );
self::assertSame(0, $this->extension->getPastTalkCount([$talk])); self::assertSame(0, $this->extension->getPastTalkCount([$talk]));
} }
public function testSinglePastEvent(): void public function testSinglePastEvent(): void
{ {
$talkA = $this->createTalk( $talkA = $this->createTalk(
events: [ events: [
['date' => (new \DateTime('+1 days'))->getTimestamp()], ['date' => (new \DateTime('+1 days'))->getTimestamp()],
], ],
); );
@ -48,8 +48,8 @@ class OpdaviesTwigExtensionTest extends TestCase
{ {
$talkA = $this->createTalk( $talkA = $this->createTalk(
events: [ events: [
['date' => (new \DateTime('-1 days'))->getTimestamp()], ['date' => (new \DateTime('-1 days'))->getTimestamp()],
['date' => (new \DateTime('+1 days'))->getTimestamp()], ['date' => (new \DateTime('+1 days'))->getTimestamp()],
], ],
); );