Bump PHPStan to level 9

This commit is contained in:
Oliver Davies 2025-05-04 22:37:31 +01:00
parent 9abfb29af7
commit f21bb125c5
6 changed files with 24 additions and 3 deletions

View file

@ -116,6 +116,8 @@ class PresentationTwigExtensionTest extends TestCase
/**
* Assert the extension uses the correct number of presentations.
*
* @param ProxySourceItem[] $presentations
*/
private function assertPresentationCount(int $expectedCount, array $presentations): void
{
@ -127,6 +129,8 @@ class PresentationTwigExtensionTest extends TestCase
/**
* Create a mock presentation with a list of events.
*
* @param array{date: int}[] $events
*/
private function createPresentation(array $events): ProxySourceItem
{