calc_type can only be 0 or 1

This commit is contained in:
James Brooks 2015-09-26 14:22:02 +01:00
parent f7f01c5059
commit 3ca1ae5d70

View File

@ -82,7 +82,7 @@ class UpdateMetricCommand
'description' => 'string',
'display_chart' => 'boolean',
'default_value' => 'numeric',
'calc_type' => 'integer',
'calc_type' => 'integer|in:0,1',
'display_chart' => 'integer',
'places' => 'numeric|min:0|max:4',
];