From b424d865c49e69a71845f2d0de33eb5ddaa198fb Mon Sep 17 00:00:00 2001 From: Martin Folkerts Date: Tue, 9 Jul 2024 16:30:54 +0200 Subject: [PATCH] okay --- laravel_app/app/Mail/ReportMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel_app/app/Mail/ReportMailer.php b/laravel_app/app/Mail/ReportMailer.php index 54bad84..7861e2f 100644 --- a/laravel_app/app/Mail/ReportMailer.php +++ b/laravel_app/app/Mail/ReportMailer.php @@ -80,7 +80,7 @@ public function attachments(): array } return Attachment::fromStorage( - path: $attachment_path + (string) $attachment_path ) ->as($attachment->path) ->withMime($mime);