Skip to content

Commit

Permalink
Remove obsolete PHP version checks
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Nov 25, 2023
1 parent 2e2dff5 commit 3904fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Internal/CurlClientState.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function reset(): void
curl_share_setopt($this->share, \CURLSHOPT_SHARE, \CURL_LOCK_DATA_DNS);
curl_share_setopt($this->share, \CURLSHOPT_SHARE, \CURL_LOCK_DATA_SSL_SESSION);

if (\defined('CURL_LOCK_DATA_CONNECT') && \PHP_VERSION_ID >= 80000) {
if (\defined('CURL_LOCK_DATA_CONNECT')) {
curl_share_setopt($this->share, \CURLSHOPT_SHARE, \CURL_LOCK_DATA_CONNECT);
}
}
Expand Down

0 comments on commit 3904fc3

Please sign in to comment.