From 2b79c0630442b40d60fd8e4caf27a0d9c1f406b0 Mon Sep 17 00:00:00 2001 From: Masaki Kawaguchi Date: Tue, 26 Nov 2024 14:00:12 +0900 Subject: [PATCH] fix deprecated --- 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 8297e5ea..58f7f0d1 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -3362,7 +3362,7 @@ class X509 * * @param array $csr optional */ - public function getRequestedCertificateExtensions(array $csr = null) + public function getRequestedCertificateExtensions(?array $csr = null) { if (empty($csr)) { $csr = $this->currentCert;