Completed
Push — master ( 21780a...c17b73 )
by Antonio
08:37
created
src/Entity/Comparer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     public function hasProduct(ProductInterface $product): bool
37 37
     {
38 38
         /** @var ArrayCollection $result */
39
-        $result = $this->comparerProducts->filter(function (ComparerProductInterface $comparerProduct) use ($product) {
39
+        $result = $this->comparerProducts->filter(function(ComparerProductInterface $comparerProduct) use ($product) {
40 40
             return $product === $comparerProduct->getProduct();
41 41
         });
42 42
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
     public function getProducts(): Collection
47 47
     {
48 48
         /** @var ArrayCollection $products */
49
-        $products = $this->comparerProducts->map(function (ComparerProductInterface $comparerProduct) {
49
+        $products = $this->comparerProducts->map(function(ComparerProductInterface $comparerProduct) {
50 50
             return $comparerProduct->getProduct();
51 51
         });
52 52
 
Please login to merge, or discard this patch.
src/Controller/Action/RenderHeaderTemplateAction.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,6 @@
 block discarded – undo
36 36
             $this->templatingEngine->render('@LocasticSyliusComparerPlugin/_comparerItemCountHeader.html.twig', [
37 37
                 'comparer' => $comparer,
38 38
             ]
39
-         ));
39
+            ));
40 40
     }
41 41
 }
Please login to merge, or discard this patch.