Skip to content

Commit a94bcd0

Browse files
Do not clone cached getReport() result (to be consistent with the main branch where we do not clone because cloning results in test failures)
1 parent 1e4c868 commit a94bcd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodeCoverage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public function getReport(): Directory
136136
$this->cachedReport = (new Builder($this->analyser()))->build($this);
137137
}
138138

139-
return clone $this->cachedReport;
139+
return $this->cachedReport;
140140
}
141141

142142
/**

0 commit comments

Comments
 (0)