code: public function getNextTokenOfKind($index, array $tokens = [], $caseSensitive = true)
      {
          return $this->getTokenOfKindSibling($index, 1, $tokens, $caseSensitive);
      }
docs: Get index for closest next token of given kind.
  
  This method is shorthand for getTokenOfKindSibling method.
  
  @param int   $index         token index
  @param array $tokens        possible tokens
  @param bool  $caseSensitive perform a case sensitive comparison
  
  @return null|int