src/Standards/BestIt/Sniffs/Commenting/AbstractDocSniff.php
private function loadPrevDocBlockContent(int $startPosition): int
    {
        return $this->file->findPrevious(
            [
                T_DOC_COMMENT_OPEN_TAG,
                T_DOC_COMMENT_STAR,
                T_DOC_COMMENT_WHITESPACE,
            ],
            $startPosition - 1,
            $this->getDocCommentPos(),
            true
        );
    }
private function loadPrevDocBlockContent(int $startPosition): int
    {
        return $this->file->findPrevious(
            [
                T_DOC_COMMENT_OPEN_TAG,
                T_DOC_COMMENT_STAR,
                T_DOC_COMMENT_WHITESPACE,
            ],
            $startPosition - 1,
            $this->getDocCommentPos(),
            true
        );
    }
private function loadPrevDocBlockContent ( int $ startPosition ) : int { return $ this -> file -> findPrevious ( [ T_DOC_COMMENT_OPEN_TAG , T_DOC_COMMENT_STAR , T_DOC_COMMENT_WHITESPACE , ] , $ startPosition - 1 , $ this -> getDocCommentPos ( ) , true ) ; }
Returns the position of the previous whitespace or star of the comment for checking the line after that.

@param int $startPosition

@return int
Returns the position of the previous whitespace or star of the comment for checking the line after that .