src/Standards/BestIt/Sniffs/Commenting/AbstractDocSniff.php
private function loadSummaryPosition(): ?int
    {
        $return = null;
        $possSummaryPos = $this->loadNextDocBlockContent($this->getDocCommentPos());

        if ((int) $possSummaryPos > 0) {
            $possSummaryToken = $this->tokens[$possSummaryPos];

            $return = $this->isSimpleText($possSummaryToken) ? $possSummaryPos : null;
        }

        return $return;
    }
private function loadSummaryPosition(): ?int
    {
        $return = null;
        $possSummaryPos = $this->loadNextDocBlockContent($this->getDocCommentPos());

        if ((int) $possSummaryPos > 0) {
            $possSummaryToken = $this->tokens[$possSummaryPos];

            $return = $this->isSimpleText($possSummaryToken) ? $possSummaryPos : null;
        }

        return $return;
    }
private function loadSummaryPosition ( ) : ? int { $ return = null ; $ possSummaryPos = $ this -> loadNextDocBlockContent ( $ this -> getDocCommentPos ( ) ) ; if ( ( int ) $ possSummaryPos > 0 ) { $ possSummaryToken = $ this -> tokens [ $ possSummaryPos ] ; $ return = $ this -> isSimpleText ( $ possSummaryToken ) ? $ possSummaryPos : null ; } return $ return ; }
Loads the position of the summary token if possible.

@return int|null
Loads the position of the summary token if possible .