mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-30 20:59:14 +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
|
* @param string $domain
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private function dnsName($domain)
|
private static function dnsName($domain)
|
||||||
{
|
{
|
||||||
return ['dNSName' => $domain];
|
return ['dNSName' => $domain];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user