From cb2e5e1ed73ec06485a4235841208814e5906dfd Mon Sep 17 00:00:00 2001 From: lukmzig Date: Wed, 10 Jul 2024 12:48:58 +0200 Subject: [PATCH] remove static methods in mail helper resolver --- src/Lib/Helper/MailResolver.php | 6 +++--- src/Lib/Helper/MailResolverInterface.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Lib/Helper/MailResolver.php b/src/Lib/Helper/MailResolver.php index 730826f..9c33b6a 100644 --- a/src/Lib/Helper/MailResolver.php +++ b/src/Lib/Helper/MailResolver.php @@ -36,7 +36,7 @@ public function getDebugInformationCssStyle(): string return MailHelper::getDebugInformationCssStyle(); } - public static function formatDebugReceivers(array $receivers): string + public function formatDebugReceivers(array $receivers): string { return MailHelper::formatDebugReceivers($receivers); } @@ -52,12 +52,12 @@ public function setAbsolutePaths(string $string, ?Document $document = null, str /** * @throws Exception */ - public static function embedAndModifyCss(string $string, ?Document $document = null): string + public function embedAndModifyCss(string $string, ?Document $document = null): string { return MailHelper::embedAndModifyCss($string, $document); } - public static function parseEmailAddressField(?string $emailString): array + public function parseEmailAddressField(?string $emailString): array { return MailHelper::parseEmailAddressField($emailString); } diff --git a/src/Lib/Helper/MailResolverInterface.php b/src/Lib/Helper/MailResolverInterface.php index f33c325..1f7867d 100644 --- a/src/Lib/Helper/MailResolverInterface.php +++ b/src/Lib/Helper/MailResolverInterface.php @@ -29,7 +29,7 @@ public function getDebugInformation(string $type, Mail $mail): string; public function getDebugInformationCssStyle(): string; - public static function formatDebugReceivers(array $receivers): string; + public function formatDebugReceivers(array $receivers): string; /** * @throws Exception @@ -39,7 +39,7 @@ public function setAbsolutePaths(string $string, ?Document $document = null, str /** * @throws Exception */ - public static function embedAndModifyCss(string $string, ?Document $document = null): string; + public function embedAndModifyCss(string $string, ?Document $document = null): string; - public static function parseEmailAddressField(?string $emailString): array; + public function parseEmailAddressField(?string $emailString): array; }