From d9a3f23d07d7653bf72de7903f8b8eb8c8d66558 Mon Sep 17 00:00:00 2001 From: Michel Bardelmeijer Date: Sat, 17 Feb 2024 12:08:47 +0100 Subject: [PATCH] Suppress `stream_socket_client` warnings (#184) --- src/Downloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Downloader.php b/src/Downloader.php index 0edce95..c5a6412 100644 --- a/src/Downloader.php +++ b/src/Downloader.php @@ -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,