Skip to content

Commit

Permalink
Update CurlFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Mar 31, 2024
1 parent 3ddd184 commit e00416b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/CurlFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private static function supportsTls13(): bool
&& (\CURL_SSLVERSION_TLSv1_3 & \curl_version()['features']);

Check failure on line 115 in src/Handler/CurlFactory.php

View workflow job for this annotation

GitHub Actions / PHPStan

Cannot access offset 'features' on array|false.

Check failure on line 115 in src/Handler/CurlFactory.php

View workflow job for this annotation

GitHub Actions / PHPStan

Cannot access offset 'features' on array|false.
}

return $supportsTls12;
return $supportsTls13;
}

public function release(EasyHandle $easy): void
Expand Down

0 comments on commit e00416b

Please sign in to comment.