Fix command validation rules

This commit is contained in:
James Brooks
2016-10-19 12:29:35 +01:00
parent ebf3c8656f
commit 468b2a0b7a
14 changed files with 70 additions and 72 deletions
@@ -55,8 +55,8 @@ final class UpdateMetricPointCommand
* @var string[]
*/
public $rules = [
'value' => 'numeric',
'created_at' => 'string',
'value' => 'nullable|numeric',
'created_at' => 'nullable|string',
];
/**