Skip to content

Commit

Permalink
Use numeric validation for metric points. Fixes #1950
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jul 10, 2016
1 parent ac13557 commit 467d29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Bus/Commands/Metric/AddMetricPointCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ final class AddMetricPointCommand
* @var string[]
*/
public $rules = [
'value' => 'int',
'value' => 'numeric',
'created_at' => 'string',
];

Expand Down

0 comments on commit 467d29c

Please sign in to comment.