Skip to content

Commit ec7e19a

Browse files
committed
Fix tests
1 parent 73829ee commit ec7e19a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/Tracing/HttpClient/TraceableHttpClientTest.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ private static function isHttpClientPackageInstalled(): bool
364364
}
365365
}
366366

367-
interface TestableHttpClientInterface extends HttpClientInterface, LoggerAwareInterface, ResetInterface
368-
{
367+
if (interface_exists(HttpClientInterface::class)) {
368+
interface TestableHttpClientInterface extends HttpClientInterface, LoggerAwareInterface, ResetInterface
369+
{
370+
}
369371
}

0 commit comments

Comments
 (0)