Skip to content

Commit

Permalink
[VendorLockResolver] Reduce repetitive getName() on ClassMethodParamV…
Browse files Browse the repository at this point in the history
…endorLockResolver (#5015)
  • Loading branch information
samsonasik committed Sep 13, 2023
1 parent 299d02c commit 2384073
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ public function isVendorLocked(ClassMethod $classMethod): bool
return true;
}

/** @var string $methodName */
$methodName = $this->nodeNameResolver->getName($classMethod);

return $this->hasClassMethodLockMatchingFileName($classReflection, $methodName, '/vendor/');
}

Expand Down

0 comments on commit 2384073

Please sign in to comment.