@@ -27,7 +27,7 @@ abstract class TransportTestCase extends TestCase
27
27
protected const CUSTOM_HOST = 'host.test ' ;
28
28
protected const CUSTOM_PORT = 42 ;
29
29
30
- abstract public function createTransport (? HttpClientInterface $ client = null ): TransportInterface ;
30
+ abstract public function createTransport (HttpClientInterface $ client = null ): TransportInterface ;
31
31
32
32
/**
33
33
* @return iterable<array{0: string, 1: TransportInterface}>
@@ -55,7 +55,7 @@ public function testToString(string $expected, TransportInterface $transport)
55
55
/**
56
56
* @dataProvider supportedMessagesProvider
57
57
*/
58
- public function testSupportedMessages (MessageInterface $ message , ? TransportInterface $ transport = null )
58
+ public function testSupportedMessages (MessageInterface $ message , TransportInterface $ transport = null )
59
59
{
60
60
if (null === $ transport ) {
61
61
$ transport = $ this ->createTransport ();
@@ -67,7 +67,7 @@ public function testSupportedMessages(MessageInterface $message, ?TransportInter
67
67
/**
68
68
* @dataProvider unsupportedMessagesProvider
69
69
*/
70
- public function testUnsupportedMessages (MessageInterface $ message , ? TransportInterface $ transport = null )
70
+ public function testUnsupportedMessages (MessageInterface $ message , TransportInterface $ transport = null )
71
71
{
72
72
if (null === $ transport ) {
73
73
$ transport = $ this ->createTransport ();
@@ -79,7 +79,7 @@ public function testUnsupportedMessages(MessageInterface $message, ?TransportInt
79
79
/**
80
80
* @dataProvider unsupportedMessagesProvider
81
81
*/
82
- public function testUnsupportedMessagesTrowUnsupportedMessageTypeExceptionWhenSend (MessageInterface $ message , ? TransportInterface $ transport = null )
82
+ public function testUnsupportedMessagesTrowUnsupportedMessageTypeExceptionWhenSend (MessageInterface $ message , TransportInterface $ transport = null )
83
83
{
84
84
if (null === $ transport ) {
85
85
$ transport = $ this ->createTransport ();
0 commit comments