Skip to content

Commit

Permalink
Suppress stream_socket_client warnings (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer authored Feb 17, 2024
1 parent 444ae32 commit d9a3f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Downloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ protected function fetchCertificates(string $hostName): array
}

try {
$client = stream_socket_client(
$client = @stream_socket_client(
"ssl://{$connectTo}:{$this->port}",
$errorNumber,
$errorDescription,
Expand Down

0 comments on commit d9a3f23

Please sign in to comment.