Merge pull request #1806 from vadym-ovechkin/master

Prevent static call to non-static method error
This commit is contained in:
Jack Worman 2022-06-21 07:57:58 -05:00 committed by GitHub
commit 8245775679
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];
} }