Daniel před 1 rokem
rodič
revize
42de50bee1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      src/Mapper/PartnerProductEntityToApiMapper.php

+ 1
- 1
src/Mapper/PartnerProductEntityToApiMapper.php Zobrazit soubor

@@ -41,7 +41,7 @@ class PartnerProductEntityToApiMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
]);

$dto->productIri = $dto->partner = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [
$dto->productIri = $dto->product = $this->microMapper->map($entity->getProduct(), ProductApi::class, [
MicroMapperInterface::MAX_DEPTH => 1,
]);



Načítá se…
Zrušit
Uložit