Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc59963a

Browse files
committed
[Mailer] Fix CS issues in Azure Bridge
1 parent53c8b90 commitc59963a

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
publicfunction__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-
thrownew \Exception('Resource name cannot contain or end with a dot');
55+
thrownew \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
thrownewUnsupportedSchemeException($dsn,'azure',$this->getSupportedSchemes());
2727
}
2828

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp