This commit is contained in:
Jeremy Benoist 2016-10-30 09:58:53 +01:00
parent 535bfcbe80
commit 45fd7e09d7
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 2 additions and 3 deletions

View file

@ -3,7 +3,7 @@
namespace Wallabag\CoreBundle\Helper; namespace Wallabag\CoreBundle\Helper;
use Graby\Graby; use Graby\Graby;
use Psr\Log\LoggerInterface as Logger; use Psr\Log\LoggerInterface;
use Wallabag\CoreBundle\Entity\Entry; use Wallabag\CoreBundle\Entity\Entry;
use Wallabag\CoreBundle\Entity\Tag; use Wallabag\CoreBundle\Entity\Tag;
use Wallabag\CoreBundle\Tools\Utils; use Wallabag\CoreBundle\Tools\Utils;
@ -20,7 +20,7 @@ class ContentProxy
protected $logger; protected $logger;
protected $tagRepository; protected $tagRepository;
public function __construct(Graby $graby, RuleBasedTagger $tagger, TagRepository $tagRepository, Logger $logger) public function __construct(Graby $graby, RuleBasedTagger $tagger, TagRepository $tagRepository, LoggerInterface $logger)
{ {
$this->graby = $graby; $this->graby = $graby;
$this->tagger = $tagger; $this->tagger = $tagger;

View file

@ -20,7 +20,6 @@ services:
arguments: arguments:
- "@doctrine.orm.entity_manager" - "@doctrine.orm.entity_manager"
- "@wallabag_core.content_proxy" - "@wallabag_core.content_proxy"
- "@craue_config"
calls: calls:
- [ setClient, [ "@wallabag_import.pocket.client" ] ] - [ setClient, [ "@wallabag_import.pocket.client" ] ]
- [ setLogger, [ "@logger" ]] - [ setLogger, [ "@logger" ]]