From 19938fbec7547b395505d3f728fc22c4dc3aa4c4 Mon Sep 17 00:00:00 2001 From: Kaspars Dambis Date: Fri, 14 Feb 2025 15:38:22 +0200 Subject: [PATCH] The static hell is there --- class-two-factor-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class-two-factor-core.php b/class-two-factor-core.php index bedf26f1..1cc1e835 100644 --- a/class-two-factor-core.php +++ b/class-two-factor-core.php @@ -309,7 +309,7 @@ public static function get_providers() { * @param WP_User|int|null $user User ID. * @return array List of provider instances indexed by provider key. */ - public function get_supported_providers_for_user( $user = null ) { + public static function get_supported_providers_for_user( $user = null ) { $user = self::fetch_user( $user ); $providers = self::get_providers();