We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7a2a8f commit bf5b28eCopy full SHA for bf5b28e
src/CodeCoverage.php
@@ -661,8 +661,7 @@ private function getLinesToBeIgnoredInner(string $fileName): array
661
662
$firstMethod = \array_shift($classOrTrait['methods']);
663
$firstMethodStartLine = $firstMethod['startLine'];
664
- $firstMethodEndLine = $firstMethod['endLine'];
665
- $lastMethodEndLine = $firstMethodEndLine;
+ $lastMethodEndLine = $firstMethod['endLine'];
666
667
do {
668
$lastMethod = \array_pop($classOrTrait['methods']);
0 commit comments