Merge pull request #2052 from dmnlk/feature/php84-compatible

fix deprecated
This commit is contained in:
terrafrost 2024-11-28 22:27:50 -06:00 committed by GitHub
commit e6b4017690
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;