Fix validation rules for ChmodFilesRequest.php, again..
This commit is contained in:
parent
bd0b7127d2
commit
3e1dbbaedd
1 changed files with 2 additions and 1 deletions
|
@ -24,7 +24,8 @@ class ChmodFilesRequest extends ClientApiRequest implements ClientPermissionsReq
|
||||||
return [
|
return [
|
||||||
'root' => 'required|nullable|string',
|
'root' => 'required|nullable|string',
|
||||||
'files' => 'required|array',
|
'files' => 'required|array',
|
||||||
'files.*' => 'string',
|
'files.*.file' => 'required|string',
|
||||||
|
'files.*.mode' => 'required|numeric',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue