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;