Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 9, 2021
1 parent eb0dc44 commit 1ede841
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -2,7 +2,6 @@

namespace PHPStan\Type\WebMozartAssert;

use PHPStan\Rules\Comparison\ImpossibleCheckTypeHelper;
use PHPStan\Rules\Comparison\ImpossibleCheckTypeStaticMethodCallRule;
use PHPStan\Rules\Rule;

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

protected function getRule(): Rule
{
return new ImpossibleCheckTypeStaticMethodCallRule(self::getContainer()->getByType(ImpossibleCheckTypeHelper::class), true, true);
return self::getContainer()->getByType(ImpossibleCheckTypeStaticMethodCallRule::class);
}

public function testExtension(): void
Expand Down

0 comments on commit 1ede841

Please sign in to comment.