mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-30 18:48:30 +00:00
Prevent static call to non-static method error (#1805)
This commit is contained in:
parent
545b43cd70
commit
cee667126c
@ -3714,7 +3714,7 @@ class X509
|
|||||||
* @param string $domain
|
* @param string $domain
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private function dnsName($domain)
|
private static function dnsName($domain)
|
||||||
{
|
{
|
||||||
return ['dNSName' => $domain];
|
return ['dNSName' => $domain];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user