} /**
* @throws ReviewNotActiveExeption
*/
private function checkReviewsActive(SalesChannelContext
$context): void
{ $showReview =
$this->systemConfigService->
get('core.listing.showReview',
$context->
getSalesChannel()->
getId());
if (!
$showReview) { throw new ReviewNotActiveExeption();
} }}