@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * @param MailService $mailService |
57 | 57 | * @param MailHistoryRepository $mailHistoryRepository |
58 | 58 | * @param OrderRepository $orderRepository |
59 | - * @param twig $twig |
|
59 | + * @param Environment $twig |
|
60 | 60 | */ |
61 | 61 | public function __construct( |
62 | 62 | MailService $mailService, |
@@ -227,6 +227,9 @@ discard block |
||
227 | 227 | ]; |
228 | 228 | } |
229 | 229 | |
230 | + /** |
|
231 | + * @param Order $Order |
|
232 | + */ |
|
230 | 233 | private function createBody($Order, $twig = 'Mail/order.twig') |
231 | 234 | { |
232 | 235 | return $this->renderView($twig, [ |
@@ -211,7 +211,7 @@ |
||
211 | 211 | } |
212 | 212 | |
213 | 213 | if (isset($row[$headerByKey['product_del_flg']])) { |
214 | - if (StringUtil::isNotBlank($row[$headerByKey['product_del_flg']]) && $row[$headerByKey['product_del_flg']] == (string)Constant::ENABLED) { |
|
214 | + if (StringUtil::isNotBlank($row[$headerByKey['product_del_flg']]) && $row[$headerByKey['product_del_flg']] == (string) Constant::ENABLED) { |
|
215 | 215 | // 商品を物理削除 |
216 | 216 | $deleteImages[] = $Product->getProductImage(); |
217 | 217 |