From 6dcb3bbca635ede4bee2f9da267e08a774736e0a Mon Sep 17 00:00:00 2001 From: terrafrost Date: Thu, 28 Nov 2024 19:38:13 -0600 Subject: [PATCH] X509: fix another PHP 8.4 deprecation --- phpseclib/File/X509.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 4db07332..245e7b71 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -1815,7 +1815,7 @@ class X509 * @param array $dn optional * @return array|bool|string */ - public function getDN($format = self::DN_ARRAY, array $dn = null) + public function getDN($format = self::DN_ARRAY, $dn = null) { if (!isset($dn)) { $dn = isset($this->currentCert['tbsCertList']) ? $this->currentCert['tbsCertList']['issuer'] : $this->dn;