Skip to content

Commit

Permalink
fix typo (#4956)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Sep 9, 2023
1 parent 474b3a2 commit 416e52a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rules/Renaming/Rector/MethodCall/RenameMethodRector.php
Expand Up @@ -120,10 +120,10 @@ private function shouldSkipClassMethod(
}

private function hasClassNewClassMethod(
Class_|Interface_ $classOrInternace,
Class_|Interface_ $classOrInterface,
MethodCallRenameInterface $methodCallRename
): bool {
return (bool) $classOrInternace->getMethod($methodCallRename->getNewMethod());
return (bool) $classOrInterface->getMethod($methodCallRename->getNewMethod());
}

private function shouldKeepForParentInterface(
Expand Down

0 comments on commit 416e52a

Please sign in to comment.