Skip to content

Commit 7ee89b3

Browse files
authored
[BetterPhpDocParser] Remove double array_values() call on same variable (#4371)
1 parent 6947eb7 commit 7ee89b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public function getTagsByName(string $name): array
130130

131131
$tags = array_filter($tags, static fn (PhpDocTagNode $phpDocTagNode): bool => $phpDocTagNode->name === $name);
132132

133-
$tags = array_values($tags);
134133
return array_values($tags);
135134
}
136135

0 commit comments

Comments
 (0)