Skip to content

Commit

Permalink
Merge pull request #116 from drexlma/patch-1
Browse files Browse the repository at this point in the history
Notice: A non well formed numeric value encountered in /var/www/webgrind/library/Reader.php on line 206
  • Loading branch information
alpha0010 authored Jun 14, 2019
2 parents c2e3ddb + 03e3da1 commit 29e52e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function getHeader($header) {
// summary now includes time + memory usage, webgrind only tracks the time from the summary
$subParts = explode(' ', $parts[1]);
$this->headers['runs']++;
$this->headers['summary'] += $subParts[0];
$this->headers['summary'] += (double) $subParts[0];
} else {
$this->headers[$parts[0]] = $parts[1];
}
Expand Down

0 comments on commit 29e52e5

Please sign in to comment.