File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1111use Doctrine \DBAL \ParameterType ;
1212use Doctrine \DBAL \Query \QueryBuilder ;
1313use Ibexa \Contracts \Core \Repository \Values \Content \Query \Criterion ;
14+ use Ibexa \Core \Persistence \Legacy \Content \Type \Gateway as ContentTypeGateway ;
1415use Ibexa \Core \Search \Legacy \Content \Common \Gateway \CriteriaConverter ;
1516use Ibexa \Core \Search \Legacy \Content \Common \Gateway \CriterionHandler ;
1617
@@ -23,8 +24,6 @@ public function accept(Criterion $criterion): bool
2324
2425 /**
2526 * @phpstan-param array{languages: string[]} $languageSettings
26- *
27- * @param array $languageSettings
2827 */
2928 public function handle (
3029 CriteriaConverter $ converter ,
@@ -41,7 +40,7 @@ public function handle(
4140 ->select (
4241 'id '
4342 )->from (
44- ' ezcontentclass '
43+ ContentTypeGateway:: CONTENT_TYPE_TABLE
4544 )->where (
4645 $ queryBuilder ->expr ()->eq (
4746 'is_container ' ,
You can’t perform that action at this time.
0 commit comments