Use integer and between for metric rules

This commit is contained in:
James Brooks
2015-09-26 14:46:25 +01:00
parent 08e9705088
commit e8bc3fb818

View File

@@ -72,10 +72,10 @@ class AddMetricCommand
'suffix' => 'required|string',
'description' => 'string',
'display_chart' => 'boolean',
'default_value' => 'numeric',
'default_value' => 'integer',
'calc_type' => 'integer',
'display_chart' => 'integer',
'places' => 'numeric|min:0|max:4',
'places' => 'integer|between:0,4',
];
/**