Allow sutFqcnResolver to return array
This commit is contained in:
parent
5d0711f26c
commit
1451c0b915
|
@ -76,7 +76,7 @@ class CoverageListenerTrait
|
||||||
$cache = $r->getValue();
|
$cache = $r->getValue();
|
||||||
$cache = array_replace_recursive($cache, array(
|
$cache = array_replace_recursive($cache, array(
|
||||||
\get_class($test) => array(
|
\get_class($test) => array(
|
||||||
'covers' => array($sutFqcn),
|
'covers' => \is_array($sutFqcn) ? $sutFqcn : array($sutFqcn),
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
$r->setValue($testClass, $cache);
|
$r->setValue($testClass, $cache);
|
||||||
|
|
Reference in New Issue