@@ -23,10 +23,10 @@ |
||
| 23 | 23 | use Sylius\Component\Core\Model\ShipmentInterface; |
| 24 | 24 | use Sylius\Component\Core\OrderCheckoutStates; |
| 25 | 25 | use Sylius\Component\Core\OrderShippingStates; |
| 26 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 26 | 27 | use Sylius\Component\Order\Model\Order as BaseOrder; |
| 27 | 28 | use Sylius\Component\Order\Model\OrderInterface; |
| 28 | 29 | use Sylius\Component\Promotion\Model\PromotionCouponInterface; |
| 29 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Doctrine\Common\Collections\Collection; |
| 17 | 17 | use Sylius\Component\Customer\Model\CustomerInterface as BaseCustomerInterface; |
| 18 | 18 | use Sylius\Component\User\Model\UserAwareInterface; |
| 19 | -use Sylius\Component\User\Model\UserInterface as BaseUserInterface; |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * @author Michał Marcinkowski <[email protected]> |
@@ -54,10 +54,10 @@ |
||
| 54 | 54 | /** |
| 55 | 55 | * @return string|null |
| 56 | 56 | */ |
| 57 | - public function getRefreshToken(): ?string; |
|
| 57 | + public function getRefreshToken(): ?string; |
|
| 58 | 58 | |
| 59 | - /** |
|
| 60 | - * @param string|null $refreshToken |
|
| 61 | - */ |
|
| 62 | - public function setRefreshToken(?string $refreshToken): void; |
|
| 59 | + /** |
|
| 60 | + * @param string|null $refreshToken |
|
| 61 | + */ |
|
| 62 | + public function setRefreshToken(?string $refreshToken): void; |
|
| 63 | 63 | } |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Sylius\Bundle\UserBundle\Form\Type\UserRequestPasswordResetType; |
| 24 | 24 | use Sylius\Bundle\UserBundle\Form\Type\UserResetPasswordType; |
| 25 | 25 | use Sylius\Bundle\UserBundle\UserEvents; |
| 26 | -use Sylius\Component\Resource\Model\ResourceInterface; |
|
| 27 | 26 | use Sylius\Component\User\Model\UserInterface; |
| 28 | 27 | use Sylius\Component\User\Security\Generator\GeneratorInterface; |
| 29 | 28 | use Symfony\Component\EventDispatcher\GenericEvent; |
@@ -13,9 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | namespace Sylius\Bundle\OrderBundle\Controller; |
| 15 | 15 | |
| 16 | -use Doctrine\ORM\EntityManager; |
|
| 17 | 16 | use FOS\RestBundle\View\View; |
| 18 | -use Payum\Core\Registry\RegistryInterface; |
|
| 19 | 17 | use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration; |
| 20 | 18 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 21 | 19 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
@@ -25,11 +23,9 @@ discard block |
||
| 25 | 23 | use Sylius\Component\Resource\ResourceActions; |
| 26 | 24 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 27 | 25 | use Symfony\Component\EventDispatcher\GenericEvent; |
| 28 | -use Symfony\Component\HttpFoundation\RedirectResponse; |
|
| 29 | 26 | use Symfony\Component\HttpFoundation\Request; |
| 30 | 27 | use Symfony\Component\HttpFoundation\Response; |
| 31 | 28 | use Symfony\Component\HttpKernel\Exception\HttpException; |
| 32 | -use Webmozart\Assert\Assert; |
|
| 33 | 29 | |
| 34 | 30 | class OrderController extends ResourceController |
| 35 | 31 | { |
@@ -15,12 +15,11 @@ |
||
| 15 | 15 | |
| 16 | 16 | use Doctrine\Common\Collections\ArrayCollection; |
| 17 | 17 | use Doctrine\Common\Collections\Collection; |
| 18 | -use Sylius\Component\Attribute\Model\AttributeInterface; |
|
| 19 | -use Webmozart\Assert\Assert; |
|
| 20 | 18 | use Sylius\Component\Attribute\Model\AttributeValueInterface; |
| 21 | 19 | use Sylius\Component\Resource\Model\TimestampableTrait; |
| 22 | 20 | use Sylius\Component\Resource\Model\ToggleableTrait; |
| 23 | 21 | use Sylius\Component\Resource\Model\TranslatableTrait; |
| 22 | +use Webmozart\Assert\Assert; |
|
| 24 | 23 | |
| 25 | 24 | /** |
| 26 | 25 | * @author Paweł Jędrzejewski <[email protected]> |