Skip to content

Commit 5d35811

Browse files
committed
Pass ExtendedMethodReflection into AlwaysUsedMethodExtension
1 parent 5258f86 commit 5d35811

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rules/Methods/AlwaysUsedMethodExtension.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace PHPStan\Rules\Methods;
44

5-
use PHPStan\Reflection\MethodReflection;
5+
use PHPStan\Reflection\ExtendedMethodReflection;
66

77
/**
88
* This is the extension interface to implement if you want to describe an always-used class method.
@@ -22,6 +22,6 @@
2222
interface AlwaysUsedMethodExtension
2323
{
2424

25-
public function isAlwaysUsed(MethodReflection $methodReflection): bool;
25+
public function isAlwaysUsed(ExtendedMethodReflection $methodReflection): bool;
2626

2727
}

0 commit comments

Comments
 (0)