Skip to content

Commit

Permalink
Replace the hardcoded class string with Disqus::class
Browse files Browse the repository at this point in the history
  • Loading branch information
antalaron committed May 3, 2023
1 parent 2a9fb30 commit 9956df6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

namespace KnpU\OAuth2ClientBundle\DependencyInjection\Providers;

use Antalaron\DisqusOAuth2\Disqus;
use KnpU\OAuth2ClientBundle\Client\Provider\DisqusClient;
use Symfony\Component\Config\Definition\Builder\NodeBuilder;

Expand All @@ -22,7 +23,7 @@ public function buildConfiguration(NodeBuilder $node)

public function getProviderClass(array $config)
{
return 'Antalaron\DisqusOAuth2\Disqus';
return Disqus::class;
}

public function getProviderOptions(array $config)
Expand Down

0 comments on commit 9956df6

Please sign in to comment.