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)
183183 *
184184 * @param string|array $from
185185 * @return $this
186+ * @throws \Magento\Framework\Exception\MailException
186187 */
187188 public function setFrom ($ from )
188189 {
189190 return $ this ->setFromByScope ($ from , null );
190191 }
191192
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-
207193 /**
208194 * Set mail from address by scopeId
209195 *
210196 * @param string|array $from
211197 * @param string|int $scopeId
212198 * @return $this
199+ * @throws \Magento\Framework\Exception\MailException
213200 */
214201 public function setFromByScope ($ from , $ scopeId = null )
215202 {
@@ -270,6 +257,7 @@ public function setTemplateOptions($templateOptions)
270257 * Get mail transport
271258 *
272259 * @return \Magento\Framework\Mail\TransportInterface
260+ * @throws LocalizedException
273261 */
274262 public function getTransport ()
275263 {
You can’t perform that action at this time.
0 commit comments