for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MaxGoryunov\SavingIterator\Fakes;
/**
* Some repeating process.
* @template T result type
*/
interface Repeat
{
* Returns an array of results.
* Number of values in the result array is the same as $count.
*
* @param int $count
* @phpstan-return T[]
* @return mixed[]
public function times(int $count): array;
}