code: private function getFieldTypeNode($type, $fieldName)
      {
          $fieldNode = $this->getFieldNode($type, $fieldName);
  
          return $fieldNode ? $fieldNode->type : null;
      }
docs: @param ObjectType|InterfaceType $type
  @param string                   $fieldName
  
  @return TypeNode|null