Files
UNIT3D-Community-Edition/app/Http/Requests/UpdateTopicLabelRequest.php
2024-03-03 14:38:56 +00:00

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',
],
];
}
}