Skip to content

Commit

Permalink
Merge branch 'feature/info-report-undefined-var' of https://github.co…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Feb 9, 2020
2 parents 2e3a010 + dfc265d commit 67c3859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Reports/Info.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ public function generate(

// Length of the total string, plus however many
// thousands separators there are.
$countWidth = (strlen($totalCount) + floor($countWidth / 3));
$countWidth = strlen($totalCount);
$nrOfThousandSeps = floor($countWidth / 3);
$countWidth += $nrOfThousandSeps;

// Account for 'total' line.
$valueWidth = max(5, $valueWidth);
Expand Down

0 comments on commit 67c3859

Please sign in to comment.