Skip to content

Commit 4a37728

Browse files
Merge branch '7.0' into 7.1
* 7.0: List CS fix in .git-blame-ignore-revs Fix implicitly-required parameters minor #53524 [Messenger] [AmazonSqs] Allow `async-aws/sqs` version 2 (smoench) Fix bad merge List CS fix in .git-blame-ignore-revs Fix implicitly-required parameters List CS fix in .git-blame-ignore-revs Apply php-cs-fixer fix --rules nullable_type_declaration_for_default_null_value [Messenger][AmazonSqs] Allow async-aws/sqs version 2
2 parents 2876869 + b6e27f8 commit 4a37728

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ClickSendTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public function __construct(
3636
private readonly ?string $source = null,
3737
private readonly ?string $listId = null,
3838
private readonly ?string $fromEmail = null,
39-
HttpClientInterface $client = null,
40-
EventDispatcherInterface $dispatcher = null,
39+
?HttpClientInterface $client = null,
40+
?EventDispatcherInterface $dispatcher = null,
4141
) {
4242
parent::__construct($client, $dispatcher);
4343
}

Tests/ClickSendTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
final class ClickSendTransportTest extends TransportTestCase
2626
{
27-
public static function createTransport(HttpClientInterface $client = null, string $from = 'test_from', string $source = 'test_source', int $listId = 99, string $fromEmail = '[email protected]'): ClickSendTransport
27+
public static function createTransport(?HttpClientInterface $client = null, string $from = 'test_from', string $source = 'test_source', int $listId = 99, string $fromEmail = '[email protected]'): ClickSendTransport
2828
{
2929
return new ClickSendTransport('test_username', 'test_key', $from, $source, $listId, $fromEmail, $client ?? new MockHttpClient());
3030
}

0 commit comments

Comments
 (0)