src/Standards/BestIt/CodeSniffer/Helper/DocHelper.php
public function getBlockEndToken(): array
    {
        if (!$this->hasDocBlock()) {
            throw new DomainException(
                sprintf('Missing doc block for position %s of file %s.', $this->stackPos, $this->file->getFilename())
            );
        }

        return $this->tokens[$this->getBlockEndPosition()];
    }
public function getBlockEndToken(): array
    {
        if (!$this->hasDocBlock()) {
            throw new DomainException(
                sprintf('Missing doc block for position %s of file %s.', $this->stackPos, $this->file->getFilename())
            );
        }

        return $this->tokens[$this->getBlockEndPosition()];
    }
public function getBlockEndToken ( ) : array { if ( ! $ this -> hasDocBlock ( ) ) { throw new DomainException ( sprintf ( 'Missing doc block for position %s of file %s.' , $ this -> stackPos , $ this -> file -> getFilename ( ) ) ) ; } return $ this -> tokens [ $ this -> getBlockEndPosition ( ) ] ; }
Returns token data of the evaluated class comment end.

@return array Token data of the comment end.
Returns token data of the evaluated class comment end .