From 2905c1339dae347d00308a63d8a41ec50962679d Mon Sep 17 00:00:00 2001 From: phecho Date: Fri, 25 Dec 2015 19:13:28 +0800 Subject: [PATCH] Added missing annotation --- app/Models/Metric.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/Models/Metric.php b/app/Models/Metric.php index 8268072e..a924d592 100644 --- a/app/Models/Metric.php +++ b/app/Models/Metric.php @@ -20,7 +20,18 @@ class Metric extends Model implements HasPresenter { use ValidatingTrait; + /** + * The calculation type of sum. + * + * @var int + */ const CALC_SUM = 0; + + /** + * The calculation type of average. + * + * @var int + */ const CALC_AVG = 1; /**