File "UpdateReviewRequest.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/app/Http/Requests/Admin/UpdateReviewRequest.php
File size: 532 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace App\Http\Requests\Admin;
use Gate;
use Illuminate\Foundation\Http\FormRequest;
class UpdateReviewRequest extends FormRequest
{
public function authorize()
{
return true;
}
public function rules()
{
return [
'rating' => [
'required',
'integer',
'between:0,5',
],
'comment' => [
'nullable',
'string',
'max:500',
],
];
}
}