mirror of
https://github.com/pestphp/pest.git
synced 2026-04-20 22:20:17 +02:00
Cleanup
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user