mirror of
https://github.com/pestphp/pest.git
synced 2026-03-08 00:37:22 +01:00
fix: before each globally
This commit is contained in:
@ -197,7 +197,7 @@ final class Coverage
|
||||
};
|
||||
|
||||
$array = [];
|
||||
foreach (array_filter($file->lineCoverageData(), 'is_array') as $line => $tests) {
|
||||
foreach (array_filter($file->lineCoverageData(), is_array(...)) as $line => $tests) {
|
||||
$array = $eachLine($array, $tests, $line);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user