@@ -47,15 +47,15 @@ abstract public function unsupportedMessagesProvider(): iterable;
4747 /**
4848 * @dataProvider toStringProvider
4949 */
50- public function testToString (string $ expected , TransportInterface $ transport ): void
50+ public function testToString (string $ expected , TransportInterface $ transport )
5151 {
5252 $ this ->assertSame ($ expected , (string ) $ transport );
5353 }
5454
5555 /**
5656 * @dataProvider supportedMessagesProvider
5757 */
58- public function testSupportedMessages (MessageInterface $ message , ?TransportInterface $ transport = null ): void
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 ): void
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 ): void
82+ public function testUnsupportedMessagesTrowLogicExceptionWhenSend (MessageInterface $ message , ?TransportInterface $ transport = null )
8383 {
8484 if (null === $ transport ) {
8585 $ transport = $ this ->createTransport ();
@@ -90,7 +90,7 @@ public function testUnsupportedMessagesTrowLogicExceptionWhenSend(MessageInterfa
9090 $ transport ->send ($ message );
9191 }
9292
93- public function testCanSetCustomHost (): void
93+ public function testCanSetCustomHost ()
9494 {
9595 $ transport = $ this ->createTransport ();
9696
@@ -99,7 +99,7 @@ public function testCanSetCustomHost(): void
9999 $ this ->assertStringContainsString (sprintf ('://%s ' , $ customHost ), (string ) $ transport );
100100 }
101101
102- public function testCanSetCustomPort (): void
102+ public function testCanSetCustomPort ()
103103 {
104104 $ transport = $ this ->createTransport ();
105105
@@ -111,7 +111,7 @@ public function testCanSetCustomPort(): void
111111 $ this ->assertMatchesRegularExpression (sprintf ('/^.*\/\/.*\:%s.*$/ ' , $ customPort ), (string ) $ transport );
112112 }
113113
114- public function testCanSetCustomHostAndPort (): void
114+ public function testCanSetCustomHostAndPort ()
115115 {
116116 $ transport = $ this ->createTransport ();
117117
0 commit comments