Skip to content

Commit f4447e6

Browse files
committed
Updated PHPStan
1 parent a0354f8 commit f4447e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Rules/PHPUnit/AssertSameMethodDifferentTypesRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AssertSameMethodDifferentTypesRuleTest extends \PHPStan\Testing\RuleTestCa
1111

1212
protected function getRule(): Rule
1313
{
14-
return new ImpossibleCheckTypeMethodCallRule(true);
14+
return new ImpossibleCheckTypeMethodCallRule($this->getTypeSpecifier(), true);
1515
}
1616

1717
/**

tests/Rules/PHPUnit/AssertSameStaticMethodDifferentTypesRuleTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class AssertSameStaticMethodDifferentTypesRuleTest extends \PHPStan\Testing\Rule
1111

1212
protected function getRule(): Rule
1313
{
14-
return new ImpossibleCheckTypeStaticMethodCallRule(true);
14+
return new ImpossibleCheckTypeStaticMethodCallRule($this->getTypeSpecifier(), true);
1515
}
1616

1717
/**

0 commit comments

Comments
 (0)