public function getCurrent(): ?Token
    {
        return \count($this->tokens) > $this->cursor ? $this->tokens[$this->cursor] : null;
    }
public function getCurrent(): ?Token
    {
        return \count($this->tokens) > $this->cursor ? $this->tokens[$this->cursor] : null;
    }
public function getCurrent ( ) : ? Token { return \ count ( $ this -> tokens ) > $ this -> cursor ? $ this -> tokens [ $ this -> cursor ] : null ; }
Gets the current token

@return Token|null The current token
Gets the current token