Fix validation rules for ChmodFilesRequest.php
This commit is contained in:
parent
ed5613e207
commit
bd0b7127d2
|
@ -24,8 +24,7 @@ class ChmodFilesRequest extends ClientApiRequest implements ClientPermissionsReq
|
||||||
return [
|
return [
|
||||||
'root' => 'required|nullable|string',
|
'root' => 'required|nullable|string',
|
||||||
'files' => 'required|array',
|
'files' => 'required|array',
|
||||||
'files.file' => 'string',
|
'files.*' => 'string',
|
||||||
'files.mode' => 'integer',
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue