Explorar el Código

Exception

master
Florian Eisenmenger hace 1 año
padre
commit
eb84fcc737
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/Mapper/PostingApiToEntityMapper.php

+ 1
- 1
src/Mapper/PostingApiToEntityMapper.php Ver fichero

@@ -46,7 +46,7 @@ class PostingApiToEntityMapper implements MapperInterface
MicroMapperInterface::MAX_DEPTH => 1,
]);
if ($dto->product === null) {
throw new \Exception('Partner missing');
throw new \Exception('Product missing');
}
$product = $this->microMapper->map($dto->product, Product::class, [
MicroMapperInterface::MAX_DEPTH => 1,


Cargando…
Cancelar
Guardar