Skip to content

Commit 430a339

Browse files
committed
fix EntityParameterTypehintRuleTest
1 parent d29b195 commit 430a339

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

tests/src/Rules/EntityParameterTypehintRuleTest.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@ final class EntityParameterTypehintRuleTest extends DrupalRuleTestCase
1111
{
1212
protected function getRule(): Rule
1313
{
14-
$broker = $this->createReflectionProvider();
15-
// @phpstan-ignore-next-line
16-
return new MissingFunctionParameterTypehintRule(new MissingTypehintCheck($broker, true, true, true, true, []));
14+
return new MissingFunctionParameterTypehintRule(
15+
new MissingTypehintCheck(
16+
true,
17+
true,
18+
true,
19+
true,
20+
[]
21+
));
1722
}
1823

1924
public function testRule(): void

0 commit comments

Comments
 (0)