@@ -11,9 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\OrderBundle\Controller; |
13 | 13 | |
14 | -use Doctrine\ORM\EntityManager; |
|
15 | 14 | use FOS\RestBundle\View\View; |
16 | -use Payum\Core\Registry\RegistryInterface; |
|
17 | 15 | use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration; |
18 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
19 | 17 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
@@ -27,7 +25,6 @@ discard block |
||
27 | 25 | use Symfony\Component\HttpFoundation\Request; |
28 | 26 | use Symfony\Component\HttpFoundation\Response; |
29 | 27 | use Symfony\Component\HttpKernel\Exception\HttpException; |
30 | -use Webmozart\Assert\Assert; |
|
31 | 28 | |
32 | 29 | class OrderController extends ResourceController |
33 | 30 | { |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Channel\Context\ChannelContextInterface; |
15 | 15 | use Sylius\Component\Channel\Context\ChannelNotFoundException; |
16 | -use Sylius\Component\Core\Model\OrderInterface; |
|
17 | 16 | use Sylius\Component\Core\Repository\OrderRepositoryInterface; |
18 | 17 | use Sylius\Component\Order\Context\CartContextInterface; |
19 | 18 | use Sylius\Component\Order\Context\CartNotFoundException; |
@@ -11,15 +11,12 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\ApiBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\ApiBundle\Controller\TokenController; |
|
15 | 14 | use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension; |
16 | 15 | use Symfony\Component\Config\FileLocator; |
17 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
18 | -use Symfony\Component\DependencyInjection\Definition; |
|
19 | 17 | use Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; |
20 | 18 | use Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; |
21 | 19 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
22 | -use Symfony\Component\DependencyInjection\Reference; |
|
23 | 20 | |
24 | 21 | /** |
25 | 22 | * @author Paweł Jędrzejewski <[email protected]> |