Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #256 from villfa/fix_typo_percents
Browse files Browse the repository at this point in the history
Fix typo in the name of a variable
  • Loading branch information
pamil committed May 15, 2017
2 parents 7df7252 + 54238aa commit 7b9dcd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Log/JsonLogParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function generateListSummary($list)
}
}
$stats['total'] = $total;
$percent = [];
$percents = [];
foreach ($stats as $section => $amount) {
$percents[$section] = round((float)$amount / (float)$stats['total'] * 100);
}
Expand Down

0 comments on commit 7b9dcd6

Please sign in to comment.