@@ -27,7 +27,7 @@ abstract class TransportTestCase extends TestCase
2727 protected const CUSTOM_HOST = 'host.test ' ;
2828 protected const CUSTOM_PORT = 42 ;
2929
30- abstract public function createTransport (? HttpClientInterface $ client = null ): TransportInterface ;
30+ abstract public function createTransport (HttpClientInterface $ client = null ): TransportInterface ;
3131
3232 /**
3333 * @return iterable<array{0: string, 1: TransportInterface}>
@@ -55,7 +55,7 @@ public function testToString(string $expected, TransportInterface $transport)
5555 /**
5656 * @dataProvider supportedMessagesProvider
5757 */
58- public function testSupportedMessages (MessageInterface $ message , ? TransportInterface $ transport = null )
58+ public function testSupportedMessages (MessageInterface $ message , TransportInterface $ transport = null )
5959 {
6060 if (null === $ transport ) {
6161 $ transport = $ this ->createTransport ();
@@ -67,7 +67,7 @@ public function testSupportedMessages(MessageInterface $message, ?TransportInter
6767 /**
6868 * @dataProvider unsupportedMessagesProvider
6969 */
70- public function testUnsupportedMessages (MessageInterface $ message , ? TransportInterface $ transport = null )
70+ public function testUnsupportedMessages (MessageInterface $ message , TransportInterface $ transport = null )
7171 {
7272 if (null === $ transport ) {
7373 $ transport = $ this ->createTransport ();
@@ -79,7 +79,7 @@ public function testUnsupportedMessages(MessageInterface $message, ?TransportInt
7979 /**
8080 * @dataProvider unsupportedMessagesProvider
8181 */
82- public function testUnsupportedMessagesTrowLogicExceptionWhenSend (MessageInterface $ message , ? TransportInterface $ transport = null )
82+ public function testUnsupportedMessagesTrowLogicExceptionWhenSend (MessageInterface $ message , TransportInterface $ transport = null )
8383 {
8484 if (null === $ transport ) {
8585 $ transport = $ this ->createTransport ();
0 commit comments