@@ -46,8 +46,8 @@ |
||
| 46 | 46 | StateMachineInterface $secondOrderStateMachine |
| 47 | 47 | ): void { |
| 48 | 48 | $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([ |
| 49 | - $firstOrder, |
|
| 50 | - $secondOrder, |
|
| 49 | + $firstOrder, |
|
| 50 | + $secondOrder, |
|
| 51 | 51 | ]); |
| 52 | 52 | |
| 53 | 53 | $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine); |
@@ -33,8 +33,8 @@ |
||
| 33 | 33 | public function getFunctions(): array |
| 34 | 34 | { |
| 35 | 35 | return [ |
| 36 | - new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
| 37 | - new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
| 36 | + new TwigFunction('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
| 37 | + new TwigFunction('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
| 38 | 38 | ]; |
| 39 | 39 | } |
| 40 | 40 | } |
@@ -65,10 +65,10 @@ |
||
| 65 | 65 | { |
| 66 | 66 | $this->client->updateRequestData([ |
| 67 | 67 | 'translations' => [ |
| 68 | - $localeCode => [ |
|
| 69 | - 'name' => $productAssociationTypeName, |
|
| 70 | - 'locale' => $localeCode, |
|
| 71 | - ], |
|
| 68 | + $localeCode => [ |
|
| 69 | + 'name' => $productAssociationTypeName, |
|
| 70 | + 'locale' => $localeCode, |
|
| 71 | + ], |
|
| 72 | 72 | ], |
| 73 | 73 | ]); |
| 74 | 74 | } |
@@ -105,11 +105,11 @@ |
||
| 105 | 105 | if (isset($sorting['price'])) { |
| 106 | 106 | // Another hack, the subquery to get the first position variant |
| 107 | 107 | $subQuery = $this->createQueryBuilder('m') |
| 108 | - ->select('min(v.position)') |
|
| 109 | - ->innerJoin('m.variants', 'v') |
|
| 110 | - ->andWhere('m.id = :product_id') |
|
| 111 | - ->andWhere('v.enabled = :enabled') |
|
| 112 | - ; |
|
| 108 | + ->select('min(v.position)') |
|
| 109 | + ->innerJoin('m.variants', 'v') |
|
| 110 | + ->andWhere('m.id = :product_id') |
|
| 111 | + ->andWhere('v.enabled = :enabled') |
|
| 112 | + ; |
|
| 113 | 113 | |
| 114 | 114 | $queryBuilder |
| 115 | 115 | ->addSelect('variant') |
@@ -41,8 +41,8 @@ |
||
| 41 | 41 | '@type' => 'hydra:Collection', |
| 42 | 42 | 'hydra:member' => [ |
| 43 | 43 | [ |
| 44 | - '@type' => 'Promotion', |
|
| 45 | - 'name' => 'Sunday promotion', |
|
| 44 | + '@type' => 'Promotion', |
|
| 45 | + 'name' => 'Sunday promotion', |
|
| 46 | 46 | ], |
| 47 | 47 | ], |
| 48 | 48 | 'hydra:totalItems' => 1, |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | public function iGetAvailableLocales(): void |
| 40 | 40 | { |
| 41 | - $this->client->index(); |
|
| 41 | + $this->client->index(); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |