@@ -21,7 +21,7 @@ |
||
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) |
@@ -56,7 +56,7 @@ |
||
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 |
@@ -340,7 +340,7 @@ discard block |
||
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 |
||
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 | ); |