File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
dev/tests/integration/framework/Magento/TestFramework/Mail Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \TestFramework \Mail ;
8
8
9
+ use Magento \Framework \Mail \EmailMessageInterface ;
10
+
9
11
/**
10
12
* Class TransportInterfaceMock
11
13
*/
12
14
class TransportInterfaceMock implements \Magento \Framework \Mail \TransportInterface
13
15
{
16
+ /**
17
+ * @var null|EmailMessageInterface
18
+ */
14
19
private $ message ;
15
20
16
21
/**
17
22
* TransportInterfaceMock constructor.
18
23
*
19
- * @param string $message
24
+ * @param null|EmailMessageInterface $message
20
25
*/
21
- public function __construct ($ message = '' )
26
+ public function __construct ($ message = null )
22
27
{
23
28
$ this ->message = $ message ;
24
29
}
@@ -37,7 +42,7 @@ public function sendMessage()
37
42
/**
38
43
* Get message
39
44
*
40
- * @return mixed
45
+ * @return null|EmailMessageInterface
41
46
*/
42
47
public function getMessage ()
43
48
{
You can’t perform that action at this time.
0 commit comments