src/Standards/BestIt/CodeSniffer/Helper/DocDescriptionHelper.php
private function getCommentDescriptionStartPointer(): int
    {
        $commentStartToken = $this->docHelper->getBlockStartToken();
        $commentEndPtr = $this->docHelper->getBlockEndPosition();

        $summaryPtr = $this->summaryHelper->getCommentSummaryPosition();

        //If no tags the possible end of search is the closing tag of the doc comment.
        if (count($commentStartToken['comment_tags']) === 0) {
            return $this->file->findNext(
                [T_DOC_COMMENT_STRING],
                $summaryPtr + 1,
                $commentEndPtr
            );
        }

        //else its the pointer of the first comment tag found.
        $firstTagPtr = array_shift($commentStartToken['comment_tags']);

        return $this->file->findNext(
            [T_DOC_COMMENT_STRING],
            $summaryPtr + 1,
            $firstTagPtr - 1
        );
    }
private function getCommentDescriptionStartPointer(): int
    {
        $commentStartToken = $this->docHelper->getBlockStartToken();
        $commentEndPtr = $this->docHelper->getBlockEndPosition();

        $summaryPtr = $this->summaryHelper->getCommentSummaryPosition();

        //If no tags the possible end of search is the closing tag of the doc comment.
        if (count($commentStartToken['comment_tags']) === 0) {
            return $this->file->findNext(
                [T_DOC_COMMENT_STRING],
                $summaryPtr + 1,
                $commentEndPtr
            );
        }

        //else its the pointer of the first comment tag found.
        $firstTagPtr = array_shift($commentStartToken['comment_tags']);

        return $this->file->findNext(
            [T_DOC_COMMENT_STRING],
            $summaryPtr + 1,
            $firstTagPtr - 1
        );
    }
private function getCommentDescriptionStartPointer ( ) : int { $ commentStartToken = $ this -> docHelper -> getBlockStartToken ( ) ; $ commentEndPtr = $ this -> docHelper -> getBlockEndPosition ( ) ; $ summaryPtr = $ this -> summaryHelper -> getCommentSummaryPosition ( ) ; //If no tags the possible end of search is the closing tag of the doc comment. if ( count ( $ commentStartToken [ 'comment_tags' ] ) === 0 ) { return $ this -> file -> findNext ( [ T_DOC_COMMENT_STRING ] , $ summaryPtr + 1 , $ commentEndPtr ) ; } //else its the pointer of the first comment tag found. $ firstTagPtr = array_shift ( $ commentStartToken [ 'comment_tags' ] ) ; return $ this -> file -> findNext ( [ T_DOC_COMMENT_STRING ] , $ summaryPtr + 1 , $ firstTagPtr - 1 ) ; }
Returns pointer to the start of the long description or false if not found.

@return int Pointer to the start of the description or -1
Returns pointer to the start of the long description or false if not found .