mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-01-27 22:40:09 -06:00
41 lines
822 B
PHP
41 lines
822 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class UpdateTopicLabelRequest extends FormRequest
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array<string, array<string>>
|
|
*/
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'approved' => [
|
|
'boolean',
|
|
],
|
|
'denied' => [
|
|
'boolean',
|
|
],
|
|
'solved' => [
|
|
'boolean',
|
|
],
|
|
'invalid' => [
|
|
'boolean',
|
|
],
|
|
'bug' => [
|
|
'boolean',
|
|
],
|
|
'suggestion' => [
|
|
'boolean',
|
|
],
|
|
'implemented' => [
|
|
'boolean',
|
|
],
|
|
];
|
|
}
|
|
}
|