<?php

namespace Nette\Database;

/**
 * @phpstan-extends \Traversable<string, mixed>
 * @phpstan-extends \ArrayAccess<string, mixed>
 */
interface IRow extends \Traversable, \ArrayAccess
{

}

/**
 * @phpstan-extends \Traversable<int, IRow>
 */
interface IRowContainer extends \Traversable
{

}

/**
 * @phpstan-implements \Iterator<int, IRow>
 */
class ResultSet implements \Iterator
{

}
