Skip to content

Commit 32fa4b5

Browse files
chore(style): update source code formatting accorging to PSR-12
1 parent b8255dc commit 32fa4b5

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Mail/Client/Data/MailAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private static function escapeName(string $name): string
212212
$regex = '/(,|"|\')/m';
213213

214214
if (preg_match($regex, $name) === 1) {
215-
return '"'.addslashes($name).'"' ;
215+
return '"' . addslashes($name) . '"' ;
216216
}
217217
return $name;
218218
}

tests/Mail/Client/Data/MailAddressTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,4 @@ public function testCopy()
217217
$this->assertSame($address1->getName(), $mailAddress->getName());
218218
$this->assertNotSame($address1, $mailAddress);
219219
}
220-
221-
222220
}

0 commit comments

Comments
 (0)