From 7ac04ca0bf1871cde97531859be06f0e6b830999 Mon Sep 17 00:00:00 2001 From: Michel Bardelmeijer Date: Sat, 17 Feb 2024 10:06:55 +0100 Subject: [PATCH] Suppress `stream_socket_client` warnings --- 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,