소스 검색

Exception

master
Florian Eisenmenger 1 년 전
부모
커밋
eb84fcc737
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/Mapper/PostingApiToEntityMapper.php

+ 1
- 1
src/Mapper/PostingApiToEntityMapper.php 파일 보기

@@ -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,


불러오는 중...
취소
저장