<?php
namespace App\Http\Requests;
class UploadRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules(): array
{
return [
'file' => ['file'],
];
}
}