Passed
Pull Request — master (#191)
by
unknown
04:50
created
src/EventListener/QueryCreatedSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/PropertyBuilder/AuthorizedGroupsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.