Allow sutFqcnResolver to return array

This commit is contained in:
Vincent Langlet 2019-08-03 14:01:57 +02:00 committed by GitHub
parent 5d0711f26c
commit 1451c0b915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class CoverageListenerTrait
$cache = $r->getValue();
$cache = array_replace_recursive($cache, array(
\get_class($test) => array(
'covers' => array($sutFqcn),
'covers' => \is_array($sutFqcn) ? $sutFqcn : array($sutFqcn),
),
));
$r->setValue($testClass, $cache);