diff --git a/src/Caching/EventListener.php b/src/Caching/EventListener.php index e79b2d7..e35d9fa 100644 --- a/src/Caching/EventListener.php +++ b/src/Caching/EventListener.php @@ -22,8 +22,6 @@ */ class EventListener { - protected $reader; - /** @var MetaQueryFactory */ protected $metaQueryFactory; @@ -32,9 +30,8 @@ class EventListener /** @var SplObjectStorage */ protected $lastTouchedResults; - public function __construct(Reader $reader, MetaQueryFactory $metaQueryFactory, $debug) + public function __construct(MetaQueryFactory $metaQueryFactory, $debug) { - $this->reader = $reader; $this->metaQueryFactory = $metaQueryFactory; $this->debug = $debug; $this->lastTouchedResults = new SplObjectStorage(); diff --git a/src/Resources/config/services.xml b/src/Resources/config/services.xml index 794a431..a2f99bf 100644 --- a/src/Resources/config/services.xml +++ b/src/Resources/config/services.xml @@ -22,7 +22,6 @@ - %kernel.debug%