Skip to content

Commit 3904fc3

Browse files
committed
Remove obsolete PHP version checks
1 parent 2e2dff5 commit 3904fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Internal/CurlClientState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function reset(): void
9595
curl_share_setopt($this->share, \CURLSHOPT_SHARE, \CURL_LOCK_DATA_DNS);
9696
curl_share_setopt($this->share, \CURLSHOPT_SHARE, \CURL_LOCK_DATA_SSL_SESSION);
9797

98-
if (\defined('CURL_LOCK_DATA_CONNECT') && \PHP_VERSION_ID >= 80000) {
98+
if (\defined('CURL_LOCK_DATA_CONNECT')) {
9999
curl_share_setopt($this->share, \CURLSHOPT_SHARE, \CURL_LOCK_DATA_CONNECT);
100100
}
101101
}

0 commit comments

Comments
 (0)