From 8a8633f98df2d762ea80c06e72d87b96bb0bc223 Mon Sep 17 00:00:00 2001 From: Anatolii Bivol Date: Sun, 4 Sep 2022 09:52:56 +0200 Subject: [PATCH] Personalization addTo inline doc --- lib/mail/Personalization.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/mail/Personalization.php b/lib/mail/Personalization.php index 80966417..7fb57e9d 100644 --- a/lib/mail/Personalization.php +++ b/lib/mail/Personalization.php @@ -44,7 +44,9 @@ class Personalization implements \JsonSerializable /** * Add a To object to a Personalization object * If there are substitutions in the To object preserve them - * by transferring them to the Personalization object + * by transferring them to the Personalization object. + * If a substitution with the same key already exists + * that takes precedence, and we don't overwrite * * @param To $email To object */