Skip to content

Commit

Permalink
OP-550 - Remove deprecated implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
JanPalen committed Oct 7, 2024
1 parent 9f35200 commit 814841e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

namespace BitBag\SyliusProductBundlePlugin\DataTransformer;

use ApiPlatform\Core\DataTransformer\DataTransformerInterface;
use BitBag\SyliusProductBundlePlugin\Command\AddProductBundleToCartCommand;
use BitBag\SyliusProductBundlePlugin\Dto\Api\AddProductBundleToCartDto;
use Sylius\Component\Order\Model\OrderInterface;
use Webmozart\Assert\Assert;

final class AddProductBundleToCartDtoDataTransformer implements DataTransformerInterface
final class AddProductBundleToCartDtoDataTransformer
{
public const OBJECT_TO_POPULATE = 'object_to_populate';

Expand Down
5 changes: 3 additions & 2 deletions src/Handler/AddProductBundleToCartHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
use BitBag\SyliusProductBundlePlugin\Handler\AddProductBundleToCartHandler\CartProcessorInterface;
use Sylius\Component\Core\Repository\OrderRepositoryInterface;
use Sylius\Component\Core\Repository\ProductRepositoryInterface;
use Symfony\Component\Messenger\Handler\MessageHandlerInterface;
use Symfony\Component\Messenger\Attribute\AsMessageHandler;
use Webmozart\Assert\Assert;

final class AddProductBundleToCartHandler implements MessageHandlerInterface
#[AsMessageHandler]
final class AddProductBundleToCartHandler
{
public function __construct(
private OrderRepositoryInterface $orderRepository,
Expand Down

0 comments on commit 814841e

Please sign in to comment.