Skip to content

Commit 0d5ec8d

Browse files
Merge branch '5.4' into 6.3
* 5.4: 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 c67ba5a + 77cf825 commit 0d5ec8d

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)