Skip to content

Commit

Permalink
IBX-8019: Added missing dependencies to TrashEventSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx committed Jun 2, 2024
1 parent d9cf94a commit e0c8052
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/lib/Event/Subscriber/TrashEventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
use eZ\Publish\API\Repository\Events\Trash\TrashEvent;
use eZ\Publish\API\Repository\LocationService as LocationServiceInterface;
use eZ\Publish\API\Repository\Repository;
use eZ\Publish\API\Repository\SearchService;
use eZ\Publish\API\Repository\Values\Content\ContentInfo;
use eZ\Publish\Core\Query\QueryFactoryInterface;
use EzSystems\EzRecommendationClient\Helper\ContentHelper;
use EzSystems\EzRecommendationClient\Helper\LocationHelper;
use EzSystems\EzRecommendationClient\Service\NotificationService;
Expand All @@ -31,9 +33,19 @@ public function __construct(
LocationServiceInterface $locationService,
LocationHelper $locationHelper,
ContentHelper $contentHelper,
QueryFactoryInterface $queryFactory,
SearchService $searchService,
Repository $repository
) {
parent::__construct($notificationService, $contentService, $locationService, $locationHelper, $contentHelper);
parent::__construct(
$notificationService,
$contentService,
$locationService,
$locationHelper,
$contentHelper,
$queryFactory,
$searchService
);

$this->repository = $repository;
}
Expand Down

0 comments on commit e0c8052

Please sign in to comment.