Skip to content

Commit

Permalink
Search for curl_init() only in root namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mfb committed Nov 7, 2023
1 parent fbe4c4a commit 373ed5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpClient/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function sendRequest(Request $request, Options $options): Response
throw new \RuntimeException('The request data is empty.');
}

$curlHandle = curl_init();
$curlHandle = \curl_init();

$requestHeaders = Http::getRequestHeaders($dsn, $this->sdkIdentifier, $this->sdkVersion);

Expand Down

0 comments on commit 373ed5e

Please sign in to comment.