feat(notification): enhance email logging and refactor event handling to use scalar identifiers
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Domains\Notification\Events;
|
||||
|
||||
use App\Domains\Purchase\Models\Purchase;
|
||||
use Illuminate\Foundation\Events\Dispatchable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
@@ -14,7 +13,7 @@ class TicketsAvailable
|
||||
* @param array<int, int> $ticketIds
|
||||
*/
|
||||
public function __construct(
|
||||
public readonly Purchase $purchase,
|
||||
public readonly int $purchaseId,
|
||||
public readonly array $ticketIds,
|
||||
) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user