Prevent static call to non-static method error (#1805)

This commit is contained in:
Vadym Ovechkin 2022-06-20 21:27:10 +03:00 committed by GitHub
parent 545b43cd70
commit cee667126c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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