Skip to content

Commit

Permalink
Used IncrementalIndexer instead of Indexer in BookmarkEventSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk committed Aug 21, 2024
1 parent 3c2bac6 commit 3698368
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@
use Ibexa\Contracts\Core\Repository\Events\Bookmark\CreateBookmarkEvent;
use Ibexa\Contracts\Core\Repository\Events\Bookmark\DeleteBookmarkEvent;
use Ibexa\Contracts\Core\Repository\Values\Content\Location;
use Ibexa\Core\Search\Common\Indexer;
use Ibexa\Core\Search\Common\IncrementalIndexer;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

final class BookmarkEventSubscriber implements EventSubscriberInterface
{
/** @var \Ibexa\Core\Search\Common\Indexer&\Ibexa\Core\Search\Common\IncrementalIndexer */
private Indexer $indexer;
private IncrementalIndexer $indexer;

/**
* @param \Ibexa\Core\Search\Common\Indexer&\Ibexa\Core\Search\Common\IncrementalIndexer $indexer
*/
public function __construct(Indexer $indexer)
public function __construct(IncrementalIndexer $indexer)
{
$this->indexer = $indexer;
}
Expand Down

0 comments on commit 3698368

Please sign in to comment.