45873431e4
* Add public/private pages #641 * Cleanup the form requests
17 lines
281 B
PHP
17 lines
281 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests\Acars;
|
|
|
|
use App\Contracts\FormRequest;
|
|
|
|
class CommentRequest extends FormRequest
|
|
{
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'comment' => 'required',
|
|
'created_at' => 'sometimes|date',
|
|
];
|
|
}
|
|
}
|