Merge branch '2.x' into 3.x

This commit is contained in:
Nuno Maduro
2024-02-01 11:53:10 +00:00
73 changed files with 1169 additions and 788 deletions

View File

@ -296,7 +296,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;
}