8000 minor #46904 [Mime]  fix PHP syntax to be compatible with 7.2 and 7.3… · symfony/symfony@212de38 · GitHub
[go: up one dir, main page]

Skip to content

Commit 212de38

Browse files
committed
minor #46904 [Mime]  fix PHP syntax to be compatible with 7.2 and 7.3 (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Mime]  fix PHP syntax to be compatible with 7.2 and 7.3 | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 8eecc02 fix PHP syntax 8000 to be compatible with 7.2 and 7.3
2 parents 99f2ecc + 8eecc02 commit 212de38

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