Fix lack of Command Validating middleware

This commit is contained in:
James Brooks
2017-07-17 21:21:06 +01:00
parent 3ad23828ba
commit 39718c7936
8 changed files with 20 additions and 17 deletions

View File

@@ -116,7 +116,7 @@ final class UpdateMetricCommand
'default_view' => 'nullable|numeric|between:0,4',
'threshold' => 'nullable|int',
'order' => 'nullable|int',
'visible' => 'required|int|between:0,2',
'visible' => 'nullable|int|between:0,2',
];
/**