<?php

namespace App\Http\Requests\Settings;

use App\Http\Requests\ApiFormRequest;

class SettingsUpdateRequest extends ApiFormRequest
{
    public function rules(): array
    {
        return [
            'site_name' => ['nullable', 'string', 'max:255'],
            'administrator_email' => ['nullable', 'email', 'max:255'],
            'timezone' => ['nullable', 'string', 'max:80'],
        ];
    }
}
