Skip to content

Commit a37c506

Browse files
committed
apply
1 parent cff29ea commit a37c506

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/BetterPhpDocParser/PhpDocManipulator/PhpDocTagRemover.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ public function removeTagValueFromNode(PhpDocInfo $phpDocInfo, Node $desiredNode
6666

6767
private function areAnnotationNamesEqual(string $firstAnnotationName, string $secondAnnotationName): bool
6868
{
69-
$firstAnnotationName = trim($firstAnnotationName, '@');
70-
$secondAnnotationName = trim($secondAnnotationName, '@');
71-
72-
return $firstAnnotationName === $secondAnnotationName;
69+
return trim($firstAnnotationName, '@') === trim($secondAnnotationName, '@');
7370
}
7471
}

0 commit comments

Comments
 (0)