code: private function hasVoidReturnAnnotation(Tokens $tokens, $index)
      {
          foreach ($this->findReturnAnnotations($tokens, $index) as $return) {
              if (['void'] === $return->getTypes()) {
                  return true;
              }
          }
  
          return false;
      }
docs: Determine whether there is a void return annotation in the function's PHPDoc comment.
  
  @param Tokens $tokens
  @param int    $index  The index of the function token
  
  @return bool