Skip to content

Commit

Permalink
remove static methods in mail helper resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig committed Jul 10, 2024
1 parent d7116db commit cb2e5e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/Lib/Helper/MailResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down
6 changes: 3 additions & 3 deletions src/Lib/Helper/MailResolverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
}

0 comments on commit cb2e5e1

Please sign in to comment.