Skip to content

Commit

Permalink
Merge pull request #52 from sadikoff/fix-service-wiring
Browse files Browse the repository at this point in the history
Fix client service wiring
  • Loading branch information
weaverryan authored Sep 7, 2020
2 parents 169d0b6 + 05744b8 commit 24fc094
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Helper/DisqusHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace Knp\Bundle\DisqusBundle\Helper;

use Knp\Bundle\DisqusBundle\Client\DisqusClient;
use Knp\Bundle\DisqusBundle\Client\DisqusClientInterface;
use Twig\Environment;
use Twig\Extension\RuntimeExtensionInterface;

Expand All @@ -21,7 +21,7 @@ class DisqusHelper implements RuntimeExtensionInterface
private $disqus;
private $debug;

public function __construct(Environment $twig, DisqusClient $disqus, bool $debug)
public function __construct(Environment $twig, DisqusClientInterface $disqus, bool $debug)
{
$this->twig = $twig;
$this->disqus = $disqus;
Expand Down

0 comments on commit 24fc094

Please sign in to comment.