8000 fix PHP syntax to be compatible with 7.2 and 7.3 · symfony/symfony@8eecc02 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8eecc02

Browse files
committed
fix PHP syntax to be compatible with 7.2 and 7.3
1 parent 99f2ecc commit 8eecc02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Symfony/Component/Mime/Email.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ class Email extends Message
4343
private $html;
4444
private $htmlCharset;
4545
private $attachments = [];
46-
private ?AbstractPart $cachedBody = null; // Used to avoid wrong body hash in DKIM signatures with multiple parts (e.g. HTML + TEXT) due to multiple boundaries.
46+
/**
47+
* @var AbstractPart|null
48+
*/
49+
private $cachedBody; // Used to avoid wrong body hash in DKIM signatures with multiple parts (e.g. HTML + TEXT) due to multiple boundaries.
4750

4851
/**
4952
* @return $this

0 commit comments

Comments
 (0)
0