more fixes

This commit is contained in:
Nuno Maduro
2024-09-05 01:19:17 +01:00
parent 68785986a0
commit 98e947e0cc
3 changed files with 24 additions and 15 deletions

View File

@ -215,8 +215,10 @@ if (! function_exists('afterAll')) {
if (! function_exists('covers')) {
/**
* Specifies which classes, or functions, a test method covers.
*
* @param array<int, string>|string $classesOrFunctions
*/
function covers(string ...$classesOrFunctions): void
function covers(array|string ...$classesOrFunctions): void
{
$filename = Backtrace::file();