mirror of
https://github.com/pestphp/pest.git
synced 2026-03-09 17:27:22 +01:00
refacto(phpstan-to-8): few adjustments
This commit is contained in:
@ -77,7 +77,7 @@ if (!function_exists('uses')) {
|
||||
{
|
||||
$filename = Backtrace::file();
|
||||
|
||||
return new UsesCall($filename, $classAndTraits);
|
||||
return new UsesCall($filename, array_values($classAndTraits));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user