original_string: private function customFieldInstance($prefix): array
      {
          $ns = $this->xmlns[$prefix];
  
          if (!$discoveredCustomField = $this->customFields[$ns]) {
              throw new LogicException(
                  sprintf(
                      'No custom field class was found for %s. setCustomFields() must be called before using this extractor.',
                      $ns
                  )
              );
          }
  
          return [new Type('object', false, $discoveredCustomField->getClass())];
      }
code: private function customFieldInstance($prefix): array
      {
          $ns = $this->xmlns[$prefix];
  
          if (!$discoveredCustomField = $this->customFields[$ns]) {
              throw new LogicException(
                  sprintf(
                      'No custom field class was found for %s. setCustomFields() must be called before using this extractor.',
                      $ns
                  )
              );
          }
  
          return [new Type('object', false, $discoveredCustomField->getClass())];
      }
code_tokens: private function customFieldInstance ( $ prefix ) : array { $ ns = $ this -> xmlns [ $ prefix ] ; if ( ! $ discoveredCustomField = $ this -> customFields [ $ ns ] ) { throw new LogicException ( sprintf ( 'No custom field class was found for %s. setCustomFields() must be called before using this extractor.' , $ ns ) ) ; } return [ new Type ( 'object' , false , $ discoveredCustomField -> getClass ( ) ) ] ; }
docstring: Return the type for a custom field class.
  
  @param string $prefix The prefix of the namespace.
  
  @return array
docstring_tokens: Return the type for a custom field class .