Skip to content

Commit

Permalink
[BetterPhpDocParser] Remove double array_values() call on same variab…
Browse files Browse the repository at this point in the history
…le (#4371)
  • Loading branch information
samsonasik committed Jun 28, 2023
1 parent 6947eb7 commit 7ee89b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ public function getTagsByName(string $name): array

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

$tags = array_values($tags);
return array_values($tags);
}

Expand Down

0 comments on commit 7ee89b3

Please sign in to comment.