From 682f4e184199698ba10ebbbb184f3ce047443898 Mon Sep 17 00:00:00 2001 From: Samuel Birch Date: Tue, 15 Aug 2023 11:46:12 +0100 Subject: [PATCH] fix orderData to be nullable --- src/events/MailEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/MailEvent.php b/src/events/MailEvent.php index a53d10b58a..3ff8ff5834 100644 --- a/src/events/MailEvent.php +++ b/src/events/MailEvent.php @@ -44,5 +44,5 @@ class MailEvent extends CancelableEvent /** * @var array Order data at the time the email sends. */ - public array $orderData; + public ?array $orderData; }