Skip to content

Commit 9f25727

Browse files
deguiffabpot
authored andcommitted
Replace get_class() calls by ::class
1 parent 1be20ae commit 9f25727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HttpClient/Test/HttpClientTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ public function testWithOptions()
11251125
$client2 = $client->withOptions(['base_uri' => 'http://localhost:8057/']);
11261126

11271127
$this->assertNotSame($client, $client2);
1128-
$this->assertSame(\get_class($client), \get_class($client2));
1128+
$this->assertSame($client::class, $client2::class);
11291129

11301130
$response = $client2->request('GET', '/');
11311131
$this->assertSame(200, $response->getStatusCode());

0 commit comments

Comments
 (0)