Skip to content

Commit cd8d382

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 8d88efe + 6c40294 commit cd8d382

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ChatworkTransport.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ChatworkTransport extends AbstractTransport
3131
public function __construct(
3232
#[\SensitiveParameter] private string $apiToken,
3333
private string $roomId,
34-
HttpClientInterface $client = null,
35-
EventDispatcherInterface $dispatcher = null,
34+
?HttpClientInterface $client = null,
35+
?EventDispatcherInterface $dispatcher = null,
3636
) {
3737
parent::__construct($client, $dispatcher);
3838
}

Tests/ChatworkTransportTest.php

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

2525
class ChatworkTransportTest extends TransportTestCase
2626
{
27-
public static function createTransport(HttpClientInterface $client = null): TransportInterface
27+
public static function createTransport(?HttpClientInterface $client = null): TransportInterface
2828
{
2929
return (new ChatworkTransport('testToken', 'testRoomId', $client ?? new MockHttpClient()))->setHost('host.test');
3030
}

0 commit comments

Comments
 (0)