Skip to content

Commit 92215e2

Browse files
committed
Remove the annotation_reader dependency
1 parent f5407b9 commit 92215e2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Caching/EventListener.php

+1-4
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
*/
2323
class EventListener
2424
{
25-
protected $reader;
26-
2725
/** @var MetaQueryFactory */
2826
protected $metaQueryFactory;
2927

@@ -32,9 +30,8 @@ class EventListener
3230
/** @var SplObjectStorage */
3331
protected $lastTouchedResults;
3432

35-
public function __construct(Reader $reader, MetaQueryFactory $metaQueryFactory, $debug)
33+
public function __construct(MetaQueryFactory $metaQueryFactory, $debug)
3634
{
37-
$this->reader = $reader;
3835
$this->metaQueryFactory = $metaQueryFactory;
3936
$this->debug = $debug;
4037
$this->lastTouchedResults = new SplObjectStorage();

src/Resources/config/services.xml

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
</service>
2323

2424
<service id="Webfactory\Bundle\WfdMetaBundle\Caching\EventListener">
25-
<argument type="service" id="annotation_reader" />
2625
<argument type="service" id="Webfactory\Bundle\WfdMetaBundle\MetaQueryFactory" />
2726
<argument>%kernel.debug%</argument>
2827

0 commit comments

Comments
 (0)