<?php

declare(strict_types=1);

namespace Seka\Vzdelavanie\Http\Requests\Api;

use Illuminate\Foundation\Http\FormRequest;

/**
 * Class SekciaMoveRequest
 *
 * @package Seka\Vzdelavanie\Http\Requests\Api
 */
final class SekciaMoveRequest extends FormRequest
{
    /**
     * @return bool
     */
    public function authorize(): bool
    {
        return true;
    }

    /**
     * @return string[]
     */
    public function rules(): array
    {
        return [
            'typ' => 'required',
            'cielovaSekciaId' => 'required',
        ];
    }
}
