<?php

namespace App\Modules\Integrations\Platform\Requests;

use Illuminate\Foundation\Http\FormRequest;

class ToggleWebhookEnabledRequest extends FormRequest
{
    public function authorize(): bool
    {
        return true;
    }

    /**
     * @return array<string, mixed>
     */
    public function rules(): array
    {
        return [
            'enabled' => ['required', 'boolean'],
        ];
    }
}
