File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
lib/internal/Magento/Framework/Mail/Template Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -183,33 +183,20 @@ public function setReplyTo($email, $name = null)
183
183
*
184
184
* @param string|array $from
185
185
* @return $this
186
+ * @throws \Magento\Framework\Exception\MailException
186
187
*/
187
188
public function setFrom ($ from )
188
189
{
189
190
return $ this ->setFromByScope ($ from , null );
190
191
}
191
192
192
- /**
193
- * Set mail from address by store
194
- *
195
- * @deprecated Use setFromByScope
196
- * @see setFromByScope()
197
- *
198
- * @param string|array $from
199
- * @param string|int $store
200
- * @return $this
201
- */
202
- public function setFromByStore ($ from , $ store = null )
203
- {
204
- return $ this ->setFromByScope ($ from , $ store );
205
- }
206
-
207
193
/**
208
194
* Set mail from address by scopeId
209
195
*
210
196
* @param string|array $from
211
197
* @param string|int $scopeId
212
198
* @return $this
199
+ * @throws \Magento\Framework\Exception\MailException
213
200
*/
214
201
public function setFromByScope ($ from , $ scopeId = null )
215
202
{
@@ -270,6 +257,7 @@ public function setTemplateOptions($templateOptions)
270
257
* Get mail transport
271
258
*
272
259
* @return \Magento\Framework\Mail\TransportInterface
260
+ * @throws LocalizedException
273
261
*/
274
262
public function getTransport ()
275
263
{
You can’t perform that action at this time.
0 commit comments