Skip to content

Commit

Permalink
Merge branch '5.4' into 6.3
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nicolas-grekas committed Jan 23, 2024
2 parents d146012 + bb0df5c commit 704581f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sms77Transport.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class Sms77Transport extends AbstractTransport
private $apiKey;
private $from;

public function __construct(#[\SensitiveParameter] string $apiKey, string $from = null, HttpClientInterface $client = null, EventDispatcherInterface $dispatcher = null)
public function __construct(#[\SensitiveParameter] string $apiKey, ?string $from = null, ?HttpClientInterface $client = null, ?EventDispatcherInterface $dispatcher = null)
{
$this->apiKey = $apiKey;
$this->from = $from;
Expand Down
2 changes: 1 addition & 1 deletion Tests/Sms77TransportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

final class Sms77TransportTest extends TransportTestCase
{
public static function createTransport(HttpClientInterface $client = null, string $from = null): Sms77Transport
public static function createTransport(?HttpClientInterface $client = null, ?string $from = null): Sms77Transport
{
return new Sms77Transport('apiKey', $from, $client ?? new MockHttpClient());
}
Expand Down

0 comments on commit 704581f

Please sign in to comment.