mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +00:00
Merge pull request #1806 from vadym-ovechkin/master
Prevent static call to non-static method error
This commit is contained in:
commit
8245775679
@ -3714,7 +3714,7 @@ class X509
|
||||
* @param string $domain
|
||||
* @return array
|
||||
*/
|
||||
private function dnsName($domain)
|
||||
private static function dnsName($domain)
|
||||
{
|
||||
return ['dNSName' => $domain];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user