fix: with types

This commit is contained in:
Nuno Maduro
2025-06-28 12:14:45 +01:00
parent 7fc69033f8
commit a22013a7d3

View File

@ -178,10 +178,9 @@ final class TestCall // @phpstan-ignore-line
}
/**
* Runs the current test multiple times with
* each item of the given `iterable`.
* Runs the current test multiple times with each item of the given `iterable`.
*
* @param array<\Closure|iterable<int|string, mixed>|string> $data
* @param Closure|iterable<array-key, mixed>|string $data
*/
public function with(Closure|iterable|string ...$data): self
{