Add TalkExtension as a Twig extension

This commit is contained in:
Oliver Davies 2021-08-25 00:59:26 +01:00
parent d22c35c090
commit 5048781ae3
3 changed files with 17 additions and 3 deletions

View file

@ -10,6 +10,6 @@ final class TalkExtensionTest extends TestCase
/** @test */
public function it_returns_zero_if_there_are_no_talks(): void
{
$this->assertSame(0, (new TalkExtension())->getPastTalksCount([]));
$this->assertSame(0, (new TalkExtension())->getPastTalkCount([]));
}
}