Passed
Push — master ( ae3b04...7ab12a )
by Luiz Kim
02:17
created
src/Service/OrderService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         RequestStack $requestStack
22 22
 
23 23
     ) {
24
-        $this->request  = $requestStack->getCurrentRequest();
24
+        $this->request = $requestStack->getCurrentRequest();
25 25
     }
26 26
 
27 27
     public function calculateOrderPrice(Order $order)
Please login to merge, or discard this patch.
src/Service/OrderProductService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
         foreach ($subProducts as $subproduct) {
58 58
             $product = $this->manager->getRepository(Product::class)->find($subproduct['product']);
59
-            $productGroup =  $this->manager->getRepository(ProductGroup::class)->find($subproduct['productGroup']);
59
+            $productGroup = $this->manager->getRepository(ProductGroup::class)->find($subproduct['productGroup']);
60 60
             $this->addSubproduct($orderProduct, $product, $productGroup, $subproduct['quantity']);
61 61
         }
62 62
 
Please login to merge, or discard this patch.
src/Entity/Order.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
         $this->invoiceTax   = new ArrayCollection();
341 341
         $this->invoice      = new ArrayCollection();
342 342
         $this->task         = new ArrayCollection();
343
-        $this->orderProductQueue   = new ArrayCollection();
343
+        $this->orderProductQueue = new ArrayCollection();
344 344
         $this->orderProducts = new ArrayCollection();
345 345
         // $this->parkingDate  = new \DateTime('now');
346 346
         $this->otherInformations = json_encode(new stdClass());
@@ -898,7 +898,7 @@  discard block
 block discarded – undo
898 898
             return false;
899 899
 
900 900
         return $currentUser->getPeople()->getLink()->exists(
901
-            function ($key, $element) use ($provider) {
901
+            function($key, $element) use ($provider) {
902 902
                 return $element->getCompany() === $provider;
903 903
             }
904 904
         );
Please login to merge, or discard this patch.