Skip to content

Commit abdb690

Browse files
Merge branch '6.3' into 6.4
* 6.3: 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
2 parents b017e8b + 0d5ec8d commit abdb690

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SmscTransport.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class SmscTransport extends AbstractTransport
3434
private ?string $password;
3535
private string $from;
3636

37-
public function __construct(string $login, #[\SensitiveParameter] string $password, string $from, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
37+
public function __construct(string $login, #[\SensitiveParameter] string $password, string $from, ?HttpClientInterface $client = null, ?EventDispatcherInterface $dispatcher = null)
3838
{
3939
$this->login = $login;
4040
$this->password = $password;

Tests/SmscTransportTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
final class SmscTransportTest extends TransportTestCase
2323
{
24-
public static function createTransport(HttpClientInterface $client = null): SmscTransport
24+
public static function createTransport(?HttpClientInterface $client = null): SmscTransport
2525
{
2626
return new SmscTransport('login', 'password', 'MyApp', $client ?? new MockHttpClient());
2727
}

0 commit comments

Comments
 (0)