File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public function __construct(
3333
#[\SensitiveParameter] private string $apiKey,
3434
#[\SensitiveParameter] private string $apiSecret,
3535
private ?string $from = null,
36-
HttpClientInterface $client = null,
37-
EventDiserInterface $diser = null,
36+
?HttpClientInterface $client = null,
37+
?EventDiserInterface $diser = null,
3838
) {
3939
parent::__construct($client, $diser);
4040
}
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

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

0 commit comments

Comments
 (0)