Skip to content

Commit d95cb4d

Browse files
Merge branch '6.4' into 7.0
* 6.4: 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 6e370cb + 6241ab3 commit d95cb4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FirebaseTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class FirebaseTransport extends AbstractTransport
3131

3232
private string $token;
3333

34-
public function __construct(#[\SensitiveParameter] string $token, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
34+
public function __construct(#[\SensitiveParameter] string $token, ?HttpClientInterface $client = null, ?EventDispatcherInterface $dispatcher = null)
3535
{
3636
$this->token = $token;
3737
$this->client = $client;

Tests/FirebaseTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*/
2929
final class FirebaseTransportTest extends TransportTestCase
3030
{
31-
public static function createTransport(HttpClientInterface $client = null): FirebaseTransport
31+
public static function createTransport(?HttpClientInterface $client = null): FirebaseTransport
3232
{
3333
return new FirebaseTransport('username:password', $client ?? new MockHttpClient());
3434
}

0 commit comments

Comments
 (0)