We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d8452 commit 5841f88Copy full SHA for 5841f88
spec/HttpClientDiscoverySpec.php
@@ -52,6 +52,10 @@ function it_throw_exception(DiscoveryStrategy $strategy) {
52
53
private function psr18IsInUse()
54
{
55
+ if (PHP_MAJOR_VERSION < 7) {
56
+ return false;
57
+ }
58
+
59
$reflection = new \ReflectionMethod(HttpClient::class, 'sendRequest');
60
61
return $reflection->hasReturnType();
0 commit comments