Skip to content

Commit

Permalink
Clean up redefinition propertyName variable on MatchPropertyTypeExpec…
Browse files Browse the repository at this point in the history
…tedNameResolver (#5942)
  • Loading branch information
samsonasik authored Jun 4, 2024
1 parent 035d47a commit 3b23de7
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ public function resolve(Property $property, ClassLike $classLike): ?string
return null;
}

$propertyName = $this->nodeNameResolver->getName($property);

// skip if already has suffix
if (str_ends_with($propertyName, $expectedName->getName()) || str_ends_with(
$propertyName,
Expand Down

0 comments on commit 3b23de7

Please sign in to comment.