From dc8d272a4524439d010fe97f3d5510daaa9025c4 Mon Sep 17 00:00:00 2001 From: Antoine Veldhoven Date: Thu, 15 Jan 2026 11:29:11 +0100 Subject: [PATCH] Avoid deprecation error in PHP >= 8.5. --- src/WebAuthn.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/WebAuthn.php b/src/WebAuthn.php index f2eb755..0f121a3 100644 --- a/src/WebAuthn.php +++ b/src/WebAuthn.php @@ -541,7 +541,6 @@ public function queryFidoMetaDataService($certFolder, $deleteCerts=true) { \curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); \curl_setopt($ch, CURLOPT_USERAGENT, 'github.com/lbuchs/WebAuthn - A simple PHP WebAuthn server library'); $raw = \curl_exec($ch); - \curl_close($ch); } else { $raw = \file_get_contents($url); }