Passed
Push — master ( 878c38...d4077c )
by Luiz Kim
02:25
created
src/Repository/OrderRepository.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,9 @@
 block discarded – undo
55 55
         $this->peopleService->getMyCompanies()
56 56
       );
57 57
 
58
-    if ($company)
59
-      $qb->andWhere('pe = :company')->setParameter('company',  $company);
58
+    if ($company) {
59
+          $qb->andWhere('pe = :company')->setParameter('company',  $company);
60
+    }
60 61
 
61 62
     return $qb->getQuery()->getResult();
62 63
   }
Please login to merge, or discard this patch.