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)];
    }
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)];
    }
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 ) ] ; }
Return the type of an array of entries used in an object list.

@return array
Return the type of an array of entries used in an object list .