Skip to content

Commit

Permalink
Describe the mapping logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kasparsd committed Sep 18, 2024
1 parent f5f75d2 commit 6f50ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-two-factor-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public static function get_providers() {
);
}

// Get the classes for the enabled providers.
// Map provider keys to classes so that we can instantiate them.
$providers = array_intersect_key( self::get_providers_classes(), $providers );

foreach ( $providers as $provider_key => $provider_class ) {
Expand Down

0 comments on commit 6f50ece

Please sign in to comment.