Skip to content

Commit cb3b243

Browse files
committed
PHP 5 doesn't support ::class
1 parent 21d0171 commit cb3b243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Elasticsearch/Tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class StaticConnectionPoolIntegrationTest extends \PHPUnit_Framework_TestCase
1616
public function test404Liveness() {
1717
$client = \Elasticsearch\ClientBuilder::create()
1818
->setHosts([$_SERVER['ES_TEST_HOST']])
19-
->setConnectionPool(\Elasticsearch\ConnectionPool\StaticConnectionPool::class)
19+
->setConnectionPool('\Elasticsearch\ConnectionPool\StaticConnectionPool')
2020
->build();
2121

2222
$connection = $client->transport->getConnection();

0 commit comments

Comments
 (0)