1515
1616class DiscoveredClientsTest extends WebTestCase
1717{
18- public function testDiscoveredClient ()
18+ public function testDiscoveredClient (): void
1919 {
2020 $ container = $ this ->getContainer (false );
2121
@@ -26,7 +26,7 @@ public function testDiscoveredClient()
2626 $ this ->assertInstanceOf (HttpClient::class, $ service );
2727 }
2828
29- public function testDiscoveredAsyncClient ()
29+ public function testDiscoveredAsyncClient (): void
3030 {
3131 $ container = $ this ->getContainer (false );
3232
@@ -37,7 +37,7 @@ public function testDiscoveredAsyncClient()
3737 $ this ->assertInstanceOf (HttpAsyncClient::class, $ service );
3838 }
3939
40- public function testDiscoveredClientWithProfilingEnabled ()
40+ public function testDiscoveredClientWithProfilingEnabled (): void
4141 {
4242 $ container = $ this ->getContainer (true );
4343
@@ -49,7 +49,7 @@ public function testDiscoveredClientWithProfilingEnabled()
4949 $ this ->assertInstanceOf (HttpClient::class, NSA ::getProperty ($ service , 'client ' ));
5050 }
5151
52- public function testDiscoveredAsyncClientWithProfilingEnabled ()
52+ public function testDiscoveredAsyncClientWithProfilingEnabled (): void
5353 {
5454 $ container = $ this ->getContainer (true );
5555
@@ -64,7 +64,7 @@ public function testDiscoveredAsyncClientWithProfilingEnabled()
6464 /**
6565 * Test with httplug.discovery.client: "auto".
6666 */
67- public function testDiscovery ()
67+ public function testDiscovery (): void
6868 {
6969 $ container = $ this ->getContainer (true );
7070
@@ -86,7 +86,7 @@ public function testDiscovery()
8686 /**
8787 * Test with httplug.discovery.client: null.
8888 */
89- public function testDisabledDiscovery ()
89+ public function testDisabledDiscovery (): void
9090 {
9191 $ container = $ this ->getContainer (true , 'discovery_disabled ' );
9292
@@ -98,7 +98,7 @@ public function testDisabledDiscovery()
9898 /**
9999 * Test with httplug.discovery.client: "httplug.client.acme".
100100 */
101- public function testForcedDiscovery ()
101+ public function testForcedDiscovery (): void
102102 {
103103 $ container = $ this ->getContainer (true , 'discovery_forced ' );
104104
@@ -119,7 +119,7 @@ private function getContainer($debug, $environment = 'test')
119119 return static ::$ kernel ->getContainer ();
120120 }
121121
122- protected function setUp ()
122+ protected function setUp (): void
123123 {
124124 parent ::setUp ();
125125
0 commit comments