feat: clarfies that high order testing does not support bound datasets

This commit is contained in:
Nuno Maduro
2024-01-25 14:08:56 +00:00
parent 1d2fe2de2d
commit 2562d36518
3 changed files with 33 additions and 4 deletions

View File

@ -290,7 +290,7 @@ trait Testable
return $arguments;
}
if (in_array($testParameterTypes[0], [Closure::class, 'callable'])) {
if (isset($testParameterTypes[0]) && in_array($testParameterTypes[0], [Closure::class, 'callable'])) {
return $arguments;
}