Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 8231116

Browse files
author
Stanislav Idolov
committed
magento-engcom/magento2ce#2447: Fixed code style issue
1 parent c5569e2 commit 8231116

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

lib/internal/Magento/Framework/Mail/Message.php

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
use Zend\Mime\Mime;
99
use Zend\Mime\Part;
1010

11+
/**
12+
* Class Message for email transportation
13+
*/
1114
class Message implements MailMessageInterface
1215
{
1316
/**
@@ -34,7 +37,7 @@ public function __construct($charset = 'utf-8')
3437
}
3538

3639
/**
37-
* {@inheritdoc}
40+
* @inheritdoc
3841
*
3942
* @deprecated
4043
* @see \Magento\Framework\Mail\Message::setBodyText
@@ -47,7 +50,7 @@ public function setMessageType($type)
4750
}
4851

4952
/**
50-
* {@inheritdoc}
53+
* @inheritdoc
5154
*
5255
* @deprecated
5356
* @see \Magento\Framework\Mail\Message::setBodyText
@@ -63,7 +66,7 @@ public function setBody($body)
6366
}
6467

6568
/**
66-
* {@inheritdoc}
69+
* @inheritdoc
6770
*/
6871
public function setSubject($subject)
6972
{
@@ -72,23 +75,23 @@ public function setSubject($subject)
7275
}
7376

7477
/**
75-
* {@inheritdoc}
78+
* @inheritdoc
7679
*/
7780
public function getSubject()
7881
{
7982
return $this->zendMessage->getSubject();
8083
}
8184

8285
/**
83-
* {@inheritdoc}
86+
* @inheritdoc
8487
*/
8588
public function getBody()
8689
{
8790
return $this->zendMessage->getBody();
8891
}
8992

9093
/**
91-
* {@inheritdoc}
94+
* @inheritdoc
9295
*
9396
* @deprecated This function is missing the from name. The
9497
* setFromAddress() function sets both from address and from name.
@@ -101,7 +104,7 @@ public function setFrom($fromAddress)
101104
}
102105

103106
/**
104-
* {@inheritdoc}
107+
* @inheritdoc
105108
*/
106109
public function setFromAddress($fromAddress, $fromName = null)
107110
{
@@ -110,7 +113,7 @@ public function setFromAddress($fromAddress, $fromName = null)
110113
}
111114

112115
/**
113-
* {@inheritdoc}
116+
* @inheritdoc
114117
*/
115118
public function addTo($toAddress)
116119
{
@@ -119,7 +122,7 @@ public function addTo($toAddress)
119122
}
120123

121124
/**
122-
* {@inheritdoc}
125+
* @inheritdoc
123126
*/
124127
public function addCc($ccAddress)
125128
{
@@ -128,7 +131,7 @@ public function addCc($ccAddress)
128131
}
129132

130133
/**
131-
* {@inheritdoc}
134+
* @inheritdoc
132135
*/
133136
public function addBcc($bccAddress)
134137
{
@@ -137,7 +140,7 @@ public function addBcc($bccAddress)
137140
}
138141

139142
/**
140-
* {@inheritdoc}
143+
* @inheritdoc
141144
*/
142145
public function setReplyTo($replyToAddress)
143146
{
@@ -146,7 +149,7 @@ public function setReplyTo($replyToAddress)
146149
}
147150

148151
/**
149-
* {@inheritdoc}
152+
* @inheritdoc
150153
*/
151154
public function getRawMessage()
152155
{
@@ -170,7 +173,7 @@ private function createHtmlMimeFromString($htmlBody)
170173
}
171174

172175
/**
173-
* {@inheritdoc}
176+
* @inheritdoc
174177
*/
175178
public function setBodyHtml($html)
176179
{
@@ -179,7 +182,7 @@ public function setBodyHtml($html)
179182
}
180183

181184
/**
182-
* {@inheritdoc}
185+
* @inheritdoc
183186
*/
184187
public function setBodyText($text)
185188
{

0 commit comments

Comments
 (0)