@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Sylius\Component\Core\Model\OrderInterface; |
| 24 | 24 | use Sylius\Component\Core\Model\ProductInterface; |
| 25 | 25 | use Sylius\Component\Customer\Model\CustomerInterface; |
| 26 | -use Sylius\Component\Shipping\Model\ShipmentUnitInterface; |
|
| 27 | 26 | use Sylius\Component\Shipping\ShipmentTransitions; |
| 28 | 27 | use Webmozart\Assert\Assert; |
| 29 | 28 | |
@@ -19,11 +19,8 @@ |
||
| 19 | 19 | use Sylius\Component\Core\Model\ChannelInterface; |
| 20 | 20 | use Sylius\Component\Core\Model\ProductInterface; |
| 21 | 21 | use Sylius\Component\Core\Model\TaxonInterface; |
| 22 | -use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
| 23 | 22 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |
| 24 | 23 | use Sylius\Component\User\Model\UserInterface; |
| 25 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
|
| 26 | -use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
|
| 27 | 24 | |
| 28 | 25 | final class TaxonCollectionDataProviderSpec extends ObjectBehavior |
| 29 | 26 | { |
@@ -164,9 +164,9 @@ |
||
| 164 | 164 | ; |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - private static function getCouponNormalizer (?FactoryInterface $couponFactory): \Closure |
|
| 167 | + private static function getCouponNormalizer(?FactoryInterface $couponFactory): \Closure |
|
| 168 | 168 | { |
| 169 | - return function (Options $options, array $couponDefinitions) use ($couponFactory): array { |
|
| 169 | + return function (Options $options, array $couponDefinitions) use ($couponFactory) : array { |
|
| 170 | 170 | if (null === $couponFactory) { |
| 171 | 171 | throw new \RuntimeException('You must configure a $couponFactory'); |
| 172 | 172 | } |