Skip to content

Commit e03fb1f

Browse files
committed
Refactored Aggregate class
1 parent 94d97fc commit e03fb1f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/lib/Query/Common/EmbeddingVisitor/Aggregate.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212

1313
final class Aggregate extends EmbeddingVisitor
1414
{
15-
/**
16-
* @var iterable<\Ibexa\Contracts\Solr\Query\EmbeddingVisitor>
17-
*/
15+
/** @var iterable<\Ibexa\Contracts\Solr\Query\EmbeddingVisitor> */
1816
protected iterable $visitors = [];
1917

2018
/**
@@ -43,7 +41,7 @@ public function visit(Embedding $embedding, int $limit): string
4341
}
4442
}
4543

46-
throw new NotImplementedException('No visitor available for: ' . \get_class($embedding));
44+
throw new NotImplementedException('No visitor available for: ' . get_class($embedding));
4745
}
4846

4947
private function findVisitor(Embedding $embedding): ?EmbeddingVisitor

0 commit comments

Comments
 (0)