Release 2.27 (#5212)

This commit is contained in:
Kevin Papst
2024-12-22 22:50:42 +01:00
committed by GitHub
parent 4fdfb6f478
commit 4332ef95a2
56 changed files with 354 additions and 256 deletions

View File

@@ -11,13 +11,13 @@ namespace App\Configuration;
final class MailConfiguration
{
public function __construct(private string $mailFrom)
public function __construct(private readonly string $mailFrom)
{
}
public function getFromAddress(): ?string
{
if (empty($this->mailFrom)) {
if (trim($this->mailFrom) === '') {
return null;
}