summaryrefslogtreecommitdiff
path: root/app/Analytic/EstimatedTimeComparisonAnalytic.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Analytic/EstimatedTimeComparisonAnalytic.php')
-rw-r--r--app/Analytic/EstimatedTimeComparisonAnalytic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Analytic/EstimatedTimeComparisonAnalytic.php b/app/Analytic/EstimatedTimeComparisonAnalytic.php
index d9aea32d..020478f0 100644
--- a/app/Analytic/EstimatedTimeComparisonAnalytic.php
+++ b/app/Analytic/EstimatedTimeComparisonAnalytic.php
@@ -41,8 +41,8 @@ class EstimatedTimeComparisonAnalytic extends Base
foreach ($rows as $row) {
$key = $row['is_active'] == TaskModel::STATUS_OPEN ? 'open' : 'closed';
- $metrics[$key]['time_spent'] = $row['time_spent'];
- $metrics[$key]['time_estimated'] = $row['time_estimated'];
+ $metrics[$key]['time_spent'] = (float) $row['time_spent'];
+ $metrics[$key]['time_estimated'] = (float) $row['time_estimated'];
}
return $metrics;