Skip to content

Commit

Permalink
Remove the annotation_reader dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mpdude committed Mar 28, 2024
1 parent f5407b9 commit 92215e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions src/Caching/EventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
*/
class EventListener
{
protected $reader;

/** @var MetaQueryFactory */
protected $metaQueryFactory;

Expand All @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</service>

<service id="Webfactory\Bundle\WfdMetaBundle\Caching\EventListener">
<argument type="service" id="annotation_reader" />
<argument type="service" id="Webfactory\Bundle\WfdMetaBundle\MetaQueryFactory" />
<argument>%kernel.debug%</argument>

Expand Down

0 comments on commit 92215e2

Please sign in to comment.