Skip to content

Commit 1ede841

Browse files
committed
Fix
1 parent eb0dc44 commit 1ede841

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Type/WebMozartAssert/ImpossibleCheckTypeMethodCallRuleTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace PHPStan\Type\WebMozartAssert;
44

5-
use PHPStan\Rules\Comparison\ImpossibleCheckTypeHelper;
65
use PHPStan\Rules\Comparison\ImpossibleCheckTypeStaticMethodCallRule;
76
use PHPStan\Rules\Rule;
87

@@ -14,7 +13,7 @@ class ImpossibleCheckTypeMethodCallRuleTest extends \PHPStan\Testing\RuleTestCas
1413

1514
protected function getRule(): Rule
1615
{
17-
return new ImpossibleCheckTypeStaticMethodCallRule(self::getContainer()->getByType(ImpossibleCheckTypeHelper::class), true, true);
16+
return self::getContainer()->getByType(ImpossibleCheckTypeStaticMethodCallRule::class);
1817
}
1918

2019
public function testExtension(): void

0 commit comments

Comments
 (0)