mirror of
https://github.com/pestphp/pest.git
synced 2026-04-20 22:20:17 +02:00
Improvements
This commit is contained in:
@ -360,7 +360,7 @@ trait Testable
|
||||
}
|
||||
|
||||
$parameterType = is_string($argumentIndex)
|
||||
? ($testParameterTypesByName[$argumentIndex] ?? 'mixed')
|
||||
? $testParameterTypesByName[$argumentIndex]
|
||||
: $testParameterTypes[$argumentIndex];
|
||||
|
||||
if (in_array($parameterType, [Closure::class, 'callable', 'mixed'])) {
|
||||
|
||||
Reference in New Issue
Block a user