@@ -39,8 +39,8 @@ |
||
| 39 | 39 | public function getFunctions(): array |
| 40 | 40 | { |
| 41 | 41 | return [ |
| 42 | - new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
| 43 | - new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
| 42 | + new \Twig_Function('sylius_inventory_is_available', [$this->helper, 'isStockAvailable']), |
|
| 43 | + new \Twig_Function('sylius_inventory_is_sufficient', [$this->helper, 'isStockSufficient']), |
|
| 44 | 44 | ]; |
| 45 | 45 | } |
| 46 | 46 | } |
@@ -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); |
@@ -13,8 +13,8 @@ |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
| 15 | 15 | |
| 16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 17 | 16 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
| 17 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 18 | 18 | |
| 19 | 19 | interface TaxRateResolverInterface |
| 20 | 20 | { |
@@ -14,8 +14,8 @@ |
||
| 14 | 14 | namespace Sylius\Component\Taxation\Resolver; |
| 15 | 15 | |
| 16 | 16 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
| 17 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
| 18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
| 19 | 19 | |
| 20 | 20 | class TaxRateResolver implements TaxRateResolverInterface |
| 21 | 21 | { |
@@ -105,10 +105,10 @@ |
||
| 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 | - ; |
|
| 108 | + ->select('min(v.position)') |
|
| 109 | + ->innerJoin('m.variants', 'v') |
|
| 110 | + ->andWhere('m.id = :product_id') |
|
| 111 | + ; |
|
| 112 | 112 | |
| 113 | 113 | $queryBuilder |
| 114 | 114 | ->addSelect('variant') |
@@ -18,15 +18,15 @@ |
||
| 18 | 18 | use Sylius\Behat\NotificationType; |
| 19 | 19 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
| 20 | 20 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
| 21 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 22 | +use Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface as VariantCreatePageInterface; |
|
| 23 | +use Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface; |
|
| 21 | 24 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
| 22 | 25 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
| 23 | 26 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
| 24 | 27 | use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface; |
| 25 | 28 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
| 26 | 29 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
| 27 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 28 | -use Sylius\Behat\Page\Admin\ProductVariant\CreatePageInterface as VariantCreatePageInterface; |
|
| 29 | -use Sylius\Behat\Page\Admin\ProductVariant\GeneratePageInterface; |
|
| 30 | 30 | use Sylius\Behat\Service\NotificationCheckerInterface; |
| 31 | 31 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
| 32 | 32 | use Sylius\Behat\Service\SharedStorageInterface; |