Fix validation rules for ChmodFilesRequest.php

This commit is contained in:
Matthew Penner 2020-11-29 14:47:18 -07:00
parent ed5613e207
commit bd0b7127d2

View file

@ -24,8 +24,7 @@ class ChmodFilesRequest extends ClientApiRequest implements ClientPermissionsReq
return [
'root' => 'required|nullable|string',
'files' => 'required|array',
'files.file' => 'string',
'files.mode' => 'integer',
'files.*' => 'string',
];
}
}