src/Standards/BestIt/Sniffs/Commenting/AbstractDocSniff.php
private function isPrevLineEmpty(int $startPosition): bool
    {
        $isPrevLineEmpty = true;
        $posPrevContentPos = $this->loadPrevDocBlockContent($startPosition);

        if ($posPrevContentPos !== -1) {
            $isPrevLineEmpty = $this->tokens[$startPosition]['line'] - 1 > $this->tokens[$posPrevContentPos]['line'];
        }

        return $isPrevLineEmpty;
    }
private function isPrevLineEmpty(int $startPosition): bool
    {
        $isPrevLineEmpty = true;
        $posPrevContentPos = $this->loadPrevDocBlockContent($startPosition);

        if ($posPrevContentPos !== -1) {
            $isPrevLineEmpty = $this->tokens[$startPosition]['line'] - 1 > $this->tokens[$posPrevContentPos]['line'];
        }

        return $isPrevLineEmpty;
    }
private function isPrevLineEmpty ( int $ startPosition ) : bool { $ isPrevLineEmpty = true ; $ posPrevContentPos = $ this -> loadPrevDocBlockContent ( $ startPosition ) ; if ( $ posPrevContentPos !== - 1 ) { $ isPrevLineEmpty = $ this -> tokens [ $ startPosition ] [ 'line' ] - 1 > $ this -> tokens [ $ posPrevContentPos ] [ 'line' ] ; } return $ isPrevLineEmpty ; }
Returns true if the prev line of the comment is empty.

@param int $startPosition The position where to start the search.

@return bool
Returns true if the prev line of the comment is empty .