mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: with types
This commit is contained in:
@ -178,10 +178,9 @@ final class TestCall // @phpstan-ignore-line
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Runs the current test multiple times with
|
* Runs the current test multiple times with each item of the given `iterable`.
|
||||||
* 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
|
public function with(Closure|iterable|string ...$data): self
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user