21 lines
335 B
PHP
21 lines
335 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Http\Requests\Document;
|
||
|
|
|
||
|
|
use Illuminate\Foundation\Http\FormRequest;
|
||
|
|
|
||
|
|
class ApproveRequest extends FormRequest
|
||
|
|
{
|
||
|
|
public function authorize(): bool
|
||
|
|
{
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
|
||
|
|
public function rules(): array
|
||
|
|
{
|
||
|
|
return [
|
||
|
|
'comment' => 'nullable|string|max:500',
|
||
|
|
];
|
||
|
|
}
|
||
|
|
}
|