Skip to content

Commit

Permalink
Merge pull request #5893 from lchrusciel/cart-bundle-cleanup
Browse files Browse the repository at this point in the history
[Cart] Controller cleanup
  • Loading branch information
Paweł Jędrzejewski committed Aug 26, 2016
2 parents bc0bf7b + adc52d0 commit fc8afc3
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/Sylius/Bundle/CartBundle/Controller/Controller.php
Expand Up @@ -13,9 +13,8 @@

use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
use Sylius\Component\Cart\Context\CartContextInterface;
use Sylius\Component\Cart\Model\CartInterface;
use Sylius\Component\Cart\Provider\CartProviderInterface;
use Sylius\Component\Cart\Resolver\ItemResolverInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;

Expand Down Expand Up @@ -62,14 +61,6 @@ protected function getContext()
return $this->container->get('sylius.context.cart');
}

/**
* @return ItemResolverInterface
*/
protected function getResolver()
{
return $this->container->get('sylius.cart_resolver');
}

/**
* @return EventDispatcherInterface
*/
Expand Down

0 comments on commit fc8afc3

Please sign in to comment.