Skip to content

Commit eee8baa

Browse files
Allow sutFqcnResolver to return array
1 parent 9ea2af3 commit eee8baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Legacy/CoverageListenerTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function startTest($test)
7676
$cache = $r->getValue();
7777
$cache = array_replace_recursive($cache, array(
7878
\get_class($test) => array(
79-
'covers' => array($sutFqcn),
79+
'covers' => \is_array($sutFqcn) ? $sutFqcn : array($sutFqcn),
8080
),
8181
));
8282
$r->setValue($testClass, $cache);

0 commit comments

Comments
 (0)