Skip to content

Commit 8807b9a

Browse files
author
Dimitri BOUTEILLE
committed
Fix bad \Magento\Sales\Model\Order\Email\Container\Template::$id property
1 parent 0cfe4a3 commit 8807b9a

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Sales/Model/Order/Email/Container

1 file changed

+3
-3
lines changed

app/code/Magento/Sales/Model/Order/Email/Container/Template.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Template implements ResetAfterRequestInterface
2525
protected $templateId;
2626

2727
/**
28-
* @var int
28+
* @var int|string
2929
*/
3030
protected $id;
3131

@@ -74,7 +74,7 @@ public function getTemplateOptions()
7474
/**
7575
* Set email template id
7676
*
77-
* @param int $id
77+
* @param int|string $id
7878
* @return void
7979
*/
8080
public function setTemplateId($id)
@@ -85,7 +85,7 @@ public function setTemplateId($id)
8585
/**
8686
* Get email template id
8787
*
88-
* @return int
88+
* @return int|string
8989
*/
9090
public function getTemplateId()
9191
{

0 commit comments

Comments
 (0)