From acec8ad3d49674023a415ba5000df1db9c306caf Mon Sep 17 00:00:00 2001 From: freek Date: Sun, 14 Oct 2018 22:53:42 +0200 Subject: [PATCH] simplify exception --- src/Exceptions/CannotRenderTemplateMailable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptions/CannotRenderTemplateMailable.php b/src/Exceptions/CannotRenderTemplateMailable.php index 2f88735..3e6f02a 100644 --- a/src/Exceptions/CannotRenderTemplateMailable.php +++ b/src/Exceptions/CannotRenderTemplateMailable.php @@ -8,7 +8,7 @@ class CannotRenderTemplateMailable extends Exception { - public static function layoutDoesNotContainABodyPlaceHolder(TemplateMailable $templateMailable, MailTemplate $mailTemplate, string $layoutHtml) + public static function layoutDoesNotContainABodyPlaceHolder(TemplateMailable $templateMailable) { $mailableClass = class_basename($templateMailable);