From cee667126c73b7a7d07a4d0db13e5dc9efb5bfe4 Mon Sep 17 00:00:00 2001 From: Vadym Ovechkin <32996847+vadym-ovechkin@users.noreply.github.com> Date: Mon, 20 Jun 2022 21:27:10 +0300 Subject: [PATCH] Prevent static call to non-static method error (#1805) --- phpseclib/File/X509.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/File/X509.php b/phpseclib/File/X509.php index 379863b4..8879c0ab 100644 --- a/phpseclib/File/X509.php +++ b/phpseclib/File/X509.php @@ -3714,7 +3714,7 @@ class X509 * @param string $domain * @return array */ - private function dnsName($domain) + private static function dnsName($domain) { return ['dNSName' => $domain]; }