Skip to content

Commit

Permalink
Merge pull request #2024 from dpfaffenbauer/issues/cart-controller
Browse files Browse the repository at this point in the history
[Frontend] fix getQuantityModifier return type
  • Loading branch information
dpfaffenbauer authored Jun 21, 2022
2 parents 1ae9101 + 79de6a5 commit f322d35
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
use CoreShop\Component\Order\Repository\CartPriceRuleVoucherRepositoryInterface;
use CoreShop\Component\Shipping\Calculator\TaxedShippingCalculatorInterface;
use CoreShop\Component\Shipping\Resolver\CarriersResolverInterface;
use CoreShop\Component\StorageList\StorageListItemQuantityModifierInterface;
use CoreShop\Component\Tracking\Tracker\TrackerInterface;
use Symfony\Component\EventDispatcher\GenericEvent;
use Symfony\Component\Form\FormError;
Expand Down Expand Up @@ -322,7 +323,7 @@ protected function getCartModifier(): CartModifierInterface
return $this->get(CartModifierInterface::class);
}

protected function getQuantityModifer(): CartItemQuantityModifier
protected function getQuantityModifer(): StorageListItemQuantityModifierInterface
{
return $this->get(CartItemQuantityModifier::class);
}
Expand Down

0 comments on commit f322d35

Please sign in to comment.