mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 03:16:02 +00:00
Merge pull request #2052 from dmnlk/feature/php84-compatible
fix deprecated
This commit is contained in:
commit
e6b4017690
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user