<?php

namespace App\Http\Requests;

class UpdateExpenseRequest extends StoreExpenseRequest
{
    public function authorize(): bool
    {
        return (bool) $this->user()?->can('expenses.edit');
    }
}
