We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a3c140 + 32fa4b5 commit 045b180Copy full SHA for 045b180
src/Mail/Client/Data/MailAddress.php
@@ -212,7 +212,7 @@ private static function escapeName(string $name): string
212
$regex = '/(,|"|\')/m';
213
214
if (preg_match($regex, $name) === 1) {
215
- return '"'.addslashes($name).'"' ;
+ return '"' . addslashes($name) . '"' ;
216
}
217
return $name;
218
tests/Mail/Client/Data/MailAddressTest.php
@@ -217,6 +217,4 @@ public function testCopy()
$this->assertSame($address1->getName(), $mailAddress->getName());
$this->assertNotSame($address1, $mailAddress);
219
220
-
221
222
0 commit comments