<?php

namespace App\Modules\HR\Shifts\Requests;

use Illuminate\Foundation\Http\FormRequest;

class EndEmployeeShiftAssignmentRequest extends FormRequest
{
    public function authorize(): bool
    {
        return $this->user()?->can('shifts.assign') ?? false;
    }

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