Fix code syntax (that was only 8.4+)

This commit is contained in:
jf-cbd
2026-08-25 17:05:30 +02:00
parent fffff76c82
commit 7dbbf742c4

View File

@@ -8,7 +8,7 @@ class SymfonyPHPMailTransportTest extends ItopTestCase
{
public function testPrepareMustNotThrowErrorWhenToHeaderIsMissing(): void
{
$oEmail = new Email()
$oEmail = (new Email())
->from('sender@example.com')
->cc('cc1@example.com', 'cc2@example.com')
->text('Body');