Passed
Push — master ( ee799b...cf2ff3 )
by Luiz Kim
02:38
created
src/Repository/ProductRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 class ProductRepository extends ServiceEntityRepository
20 20
 {
21 21
 
22
-    private $inventory_exclude_types = ['custom', 'component', 'manufactured'];
22
+    private $inventory_exclude_types = [ 'custom', 'component', 'manufactured' ];
23 23
 
24 24
     public function __construct(
25 25
         private PeopleService $peopleService,
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
         try {
39 39
             $conn = $this->getEntityManager()->getConnection();
40
-            $conn->executeStatement('CALL update_product_inventory(?)', [$companies]);
40
+            $conn->executeStatement('CALL update_product_inventory(?)', [ $companies ]);
41 41
         } catch (\Exception $e) {
42 42
             throw new \Exception($e->getMessage());
43 43
         }
Please login to merge, or discard this patch.