align the rules for styleci
This commit is contained in:
@@ -67,12 +67,12 @@ final class CreateIncidentUpdateCommand
|
|||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
public $rules = [
|
public $rules = [
|
||||||
'incident' => 'required',
|
'incident' => 'required',
|
||||||
'status' => 'required|int|min:1|max:4',
|
'status' => 'required|int|min:1|max:4',
|
||||||
'message' => 'required|string',
|
'message' => 'required|string',
|
||||||
'component_id' => 'nullable|required_with:component_status|int',
|
'component_id' => 'nullable|required_with:component_status|int',
|
||||||
'component_status' => 'nullable|required_with:component_id|int|min:0|max:4',
|
'component_status' => 'nullable|required_with:component_id|int|min:0|max:4',
|
||||||
'user' => 'required',
|
'user' => 'required',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user