Use numeric validation for metric points. Fixes #1950

This commit is contained in:
James Brooks 2016-07-10 10:37:00 +01:00
parent ac1355771c
commit 467d29ca11

View File

@ -42,7 +42,7 @@ final class AddMetricPointCommand
* @var string[]
*/
public $rules = [
'value' => 'int',
'value' => 'numeric',
'created_at' => 'string',
];