File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 13
13
14
14
class QuerySubscriber implements EventSubscriberInterface
15
15
{
16
- public function __construct (private readonly ArgumentAccessInterface $ argumentAccess )
17
- {
18
- }
19
-
20
16
public function items (ItemsEvent $ event ): void
21
17
{
22
18
if (!$ event ->target instanceof Query) {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public function before(BeforeEvent $event): void
22
22
/** @var \Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher */
23
23
$ dispatcher = $ event ->getEventDispatcher ();
24
24
// hook all standard filtration subscribers
25
- $ dispatcher ->addSubscriber (new Doctrine \ORM \QuerySubscriber ($ event -> getArgumentAccess () ));
25
+ $ dispatcher ->addSubscriber (new Doctrine \ORM \QuerySubscriber ());
26
26
$ dispatcher ->addSubscriber (new PropelQuerySubscriber ());
27
27
28
28
$ this ->isLoaded = true ;
You can’t perform that action at this time.
0 commit comments