Skip to content

Commit 713d1bb

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 9654113 + 323dfb6 commit 713d1bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ClickatellTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ final class ClickatellTransport extends AbstractTransport
3131
private string $authToken;
3232
private ?string $from;
3333

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

Tests/ClickatellTransportTest.php

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

2626
final class ClickatellTransportTest extends TransportTestCase
2727
{
28-
public static function createTransport(HttpClientInterface $client = null, string $from = null): ClickatellTransport
28+
public static function createTransport(?HttpClientInterface $client = null, ?string $from = null): ClickatellTransport
2929
{
3030
return new ClickatellTransport('authToken', $from, $client ?? new MockHttpClient());
3131
}

0 commit comments

Comments
 (0)