return;
} /** @var FacetResultGroup|null $facet */
$facet =
$this->
getFacetByName($facets, 'property'
);
if ($facet === null
) { return;
} $new =
[];
/** @var ValueListFacetResult $propertyFacet */
foreach ($facet->
getFacetResults() as $propertyFacet) { $ids =
array_map( function D
$item) { return $item->
getId();
},
$propertyFacet->
getValues() );
$filtered = false;
foreach ($conditions as $condition) { $diff =
array_diff($condition->
getValueIds(),
$ids);
$filtered = \
count($condition->
getValueIds()) !== \
count($diff);