@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | $userGroupCode = $this->groupContext->getCustomerGroup()->getCode(); |
45 | 45 | |
46 | - $query->addMust(new \Elastica\Query\Terms(self::AUTHORIZED_GORUP_KEY,[$userGroupCode])); |
|
46 | + $query->addMust(new \Elastica\Query\Terms(self::AUTHORIZED_GORUP_KEY, [$userGroupCode])); |
|
47 | 47 | |
48 | 48 | } |
49 | 49 | } |
@@ -28,7 +28,7 @@ |
||
28 | 28 | public function consumeEvent(TransformEvent $event): void |
29 | 29 | { |
30 | 30 | $this->buildProperty($event, ProductInterface::class, |
31 | - function (ProductInterface $product, Document $document): void { |
|
31 | + function(ProductInterface $product, Document $document): void { |
|
32 | 32 | $authorizedGroups = []; |
33 | 33 | |
34 | 34 | foreach ($product->getAuthorizedCustomerGroups() as $group) { |