8000 [Mailer] Fix CS issues in Azure Bridge · symfony/symfony@2d209d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2d209d2

Browse files
committed
[Mailer] Fix CS issues in Azure Bridge
1 parent d385220 commit 2d209d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Mailer/Bridge/Azure/Transport/AzureApiTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ final class AzureApiTransport extends AbstractApiTransport
5252
public function __construct(string $key, string $resourceName, bool $engagementTracking = true, string $apiVersion = '2023-03-31', HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null, LoggerInterface $logger = null)
5353
{
5454
if (str_contains($resourceName, '.') || str_ends_with($resourceName, '.')) {
55-
throw new \Exception('Resource name cannot contain or end with a dot');
55+
throw new \Exception('Resource name cannot contain or end with a dot.');
5656
}
5757

5858
$this->resourceName = $resourceName;

src/Symfony/Component/Mailer/Bridge/Azure/Transport/AzureTransportFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function create(Dsn $dsn): TransportInterface
2222
{
2323
$scheme = $dsn->getScheme();
2424

25-
if (!in_array($scheme, ['azure+api', 'azure'], true)) {
25+
if (!\in_array($scheme, ['azure+api', 'azure'], true)) {
2626
throw new UnsupportedSchemeException($dsn, 'azure', $this->getSupportedSchemes());
2727
}
2828

0 commit comments

Comments
 (0)
0