src/Standards/BestIt/Sniffs/DocTags/TagSortingSniff.php
private function removeOldTagLines(): array
    {
        $tags = $this->getTagTokens();
        $firstTag = array_shift($tags);

        (new LineHelper($this->file))
            ->removeLines(
                $firstTag['line'],
                $this->tokens[$this->token['comment_closer']]['line']
            );

        return $firstTag;
    }
private function removeOldTagLines(): array
    {
        $tags = $this->getTagTokens();
        $firstTag = array_shift($tags);

        (new LineHelper($this->file))
            ->removeLines(
                $firstTag['line'],
                $this->tokens[$this->token['comment_closer']]['line']
            );

        return $firstTag;
    }
private function removeOldTagLines ( ) : array { $ tags = $ this -> getTagTokens ( ) ; $ firstTag = array_shift ( $ tags ) ; ( new LineHelper ( $ this -> file ) ) -> removeLines ( $ firstTag [ 'line' ] , $ this -> tokens [ $ this -> token [ 'comment_closer' ] ] [ 'line' ] ) ; return $ firstTag ; }
Removed the lines with the wrongly sorted tags.

@return array The first tag token of this doc block.
Removed the lines with the wrongly sorted tags .