<?php

namespace App\Actions\Orders;

use App\Events\OrderApprovedEvent;

class DispatchOrderApprovedEventAction
{
    public function execute(int $orderId, ?int $approvedBy = null): void
    {
        event(new OrderApprovedEvent($orderId, $approvedBy));
    }
}
