private function customFieldsArrayType(): array
    {
        $collectionKeyType = new Type(Type::BUILTIN_TYPE_STRING);
        $collectionValueType = new Type('object', false, CustomFieldInterface::class);

        return [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, $collectionKeyType, $collectionValueType)];
    }
private function customFieldsArrayType(): array
    {
        $collectionKeyType = new Type(Type::BUILTIN_TYPE_STRING);
        $collectionValueType = new Type('object', false, CustomFieldInterface::class);

        return [new Type(Type::BUILTIN_TYPE_ARRAY, false, null, true, $collectionKeyType, $collectionValueType)];
    }
private function customFieldsArrayType ( ) : array { $ collectionKeyType = new Type ( Type :: BUILTIN_TYPE_STRING ) ; $ collectionValueType = new Type ( 'object' , false , CustomFieldInterface :: class ) ; return [ new Type ( Type :: BUILTIN_TYPE_ARRAY , false , null , true , $ collectionKeyType , $ collectionValueType ) ] ; }
Return the type for an array of custom fields, indexed by a string.

@return array
Return the type for an array of custom fields indexed by a string .