소스 검색

Merge branch 'develop'

master
Guillaume 2 년 전
부모
커밋
df3575fd13
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      Factory/Reduction/ReductionCatalogFactory.php

+ 2
- 2
Factory/Reduction/ReductionCatalogFactory.php 파일 보기

@@ -10,12 +10,12 @@ use Lc\SovBundle\Factory\AbstractFactory;
class ReductionCatalogFactory extends AbstractFactory
{

public function create(MerchantInterface $merchant): ReductionCatalogInterface
public function create(MerchantInterface $merchant, int $status = 1): ReductionCatalogInterface
{
$reductionCatalog = new ReductionCatalog();

$reductionCatalog->setMerchant($merchant);
$reductionCatalog->setStatus(1);
$reductionCatalog->setStatus($status);

return $reductionCatalog;
}

Loading…
취소
저장