From 091c71094088bfeb8ef059c4867d21639d1db6dd Mon Sep 17 00:00:00 2001 From: Brady Wetherington Date: Wed, 18 Feb 2026 15:25:05 +0000 Subject: [PATCH] Make User parameter nullable --- app/Mail/CheckoutAssetMail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Mail/CheckoutAssetMail.php b/app/Mail/CheckoutAssetMail.php index d14a2430f4..ba79e59ef9 100644 --- a/app/Mail/CheckoutAssetMail.php +++ b/app/Mail/CheckoutAssetMail.php @@ -25,7 +25,7 @@ class CheckoutAssetMail extends BaseMailable * Create a new message instance. * @throws \Exception */ - public function __construct(Asset $asset, $checkedOutTo, User $checkedOutBy, $acceptance, $note, bool $firstTimeSending = true) + public function __construct(Asset $asset, $checkedOutTo, ?User $checkedOutBy, $acceptance, $note, bool $firstTimeSending = true) { $this->item = $asset; $this->admin = $checkedOutBy;