This commit is contained in:
dbpolito
2026-02-11 18:02:21 -03:00
parent c61dcad42b
commit 6966802afc
2 changed files with 1 additions and 2 deletions

View File

@ -361,7 +361,7 @@ trait Testable
$parameterType = is_string($argumentIndex)
? ($testParameterTypesByName[$argumentIndex] ?? 'mixed')
: ($testParameterTypes[$argumentIndex] ?? 'mixed');
: $testParameterTypes[$argumentIndex];
if (in_array($parameterType, [Closure::class, 'callable', 'mixed'])) {
continue;