Skip to content

Commit

Permalink
Pass ExtendedMethodReflection into AlwaysUsedMethodExtension
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 11, 2025
1 parent 5258f86 commit 5d35811
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rules/Methods/AlwaysUsedMethodExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace PHPStan\Rules\Methods;

use PHPStan\Reflection\MethodReflection;
use PHPStan\Reflection\ExtendedMethodReflection;

/**
* This is the extension interface to implement if you want to describe an always-used class method.
Expand All @@ -22,6 +22,6 @@
interface AlwaysUsedMethodExtension
{

public function isAlwaysUsed(MethodReflection $methodReflection): bool;
public function isAlwaysUsed(ExtendedMethodReflection $methodReflection): bool;

}

0 comments on commit 5d35811

Please sign in to comment.