Skip to content

Commit

Permalink
NGSTACK-836: fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed May 29, 2024
1 parent 169c715 commit c0287a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

namespace Netgen\IbexaSearchExtra\Core\Search\Common\Messenger\MessageHandler\Search\ParentChildIndexing;

use Netgen\IbexaSearchExtra\Core\Search\Solr\ParentChildReindexAncestorResolver;
use Ibexa\Contracts\Core\Persistence\Content\Handler as ContentHandler;
use Ibexa\Contracts\Core\Persistence\Content\Location;
use Ibexa\Contracts\Core\Repository\Exceptions\NotFoundException;
use Ibexa\Contracts\Core\Search\VersatileHandler;
use Netgen\IbexaSearchExtra\Core\Search\Solr\ParentChildReindexAncestorResolver;

final class AncestorIndexer
{
Expand All @@ -22,7 +22,6 @@ public function indexSingle(Location $location): void
{
$ancestor = $this->ancestorResolver->resolveAncestor($location);


if ($ancestor === null) {
return;
}
Expand All @@ -43,6 +42,7 @@ public function indexSingle(Location $location): void
public function indexSingleForParentLocation(Location $location): void
{
$ancestor = $this->ancestorResolver->resolveAncestorForParentLocation($location);

if ($ancestor === null) {
return;
}
Expand Down

0 comments on commit c0287a8

Please sign in to comment.