original_string: private function entriesType(): array
      {
          // This is an object list, so handle the 'entries' key.
          if (!isset($this->class)) {
              throw new \UnexpectedValueException('setClass() must be called before using this extractor.');
          }
  
          $collectionKeyType = new Type(Type::BUILTIN_TYPE_INT);
          $collectionValueType = new Type('object', false, $this->class);
  
          return [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, $collectionKeyType, $collectionValueType)];
      }
code: private function entriesType(): array
      {
          // This is an object list, so handle the 'entries' key.
          if (!isset($this->class)) {
              throw new \UnexpectedValueException('setClass() must be called before using this extractor.');
          }
  
          $collectionKeyType = new Type(Type::BUILTIN_TYPE_INT);
          $collectionValueType = new Type('object', false, $this->class);
  
          return [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, $collectionKeyType, $collectionValueType)];
      }
code_tokens: private function entriesType ( ) : array { // This is an object list, so handle the 'entries' key. if ( ! isset ( $ this -> class ) ) { throw new \ UnexpectedValueException ( 'setClass() must be called before using this extractor.' ) ; } $ collectionKeyType = new Type ( Type :: BUILTIN_TYPE_INT ) ; $ collectionValueType = new Type ( 'object' , false , $ this -> class ) ; return [ new Type ( Type :: BUILTIN_TYPE_ARRAY , false , null , true , $ collectionKeyType , $ collectionValueType ) ] ; }
docstring: Return the type of an array of entries used in an object list.
  
  @return array
docstring_tokens: Return the type of an array of entries used in an object list .