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