@@ -47,15 +47,15 @@ abstract public function unsupportedMessagesProvider(): iterable;
47
47
/**
48
48
* @dataProvider toStringProvider
49
49
*/
50
- public function testToString (string $ expected , TransportInterface $ transport ): void
50
+ public function testToString (string $ expected , TransportInterface $ transport )
51
51
{
52
52
$ this ->assertSame ($ expected , (string ) $ transport );
53
53
}
54
54
55
55
/**
56
56
* @dataProvider supportedMessagesProvider
57
57
*/
58
- public function testSupportedMessages (MessageInterface $ message , ?TransportInterface $ transport = null ): void
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 ): void
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 testUnsupportedMessagesTrowLogicExceptionWhenSend (MessageInterface $ message , ?TransportInterface $ transport = null ): void
82
+ public function testUnsupportedMessagesTrowLogicExceptionWhenSend (MessageInterface $ message , ?TransportInterface $ transport = null )
83
83
{
84
84
if (null === $ transport ) {
85
85
$ transport = $ this ->createTransport ();
@@ -90,7 +90,7 @@ public function testUnsupportedMessagesTrowLogicExceptionWhenSend(MessageInterfa
90
90
$ transport ->send ($ message );
91
91
}
92
92
93
- public function testCanSetCustomHost (): void
93
+ public function testCanSetCustomHost ()
94
94
{
95
95
$ transport = $ this ->createTransport ();
96
96
@@ -99,7 +99,7 @@ public function testCanSetCustomHost(): void
99
99
$ this ->assertStringContainsString (sprintf ('://%s ' , $ customHost ), (string ) $ transport );
100
100
}
101
101
102
- public function testCanSetCustomPort (): void
102
+ public function testCanSetCustomPort ()
103
103
{
104
104
$ transport = $ this ->createTransport ();
105
105
@@ -111,7 +111,7 @@ public function testCanSetCustomPort(): void
111
111
$ this ->assertMatchesRegularExpression (sprintf ('/^.*\/\/.*\:%s.*$/ ' , $ customPort ), (string ) $ transport );
112
112
}
113
113
114
- public function testCanSetCustomHostAndPort (): void
114
+ public function testCanSetCustomHostAndPort ()
115
115
{
116
116
$ transport = $ this ->createTransport ();
117
117
0 commit comments