File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
app/code/Magento/Email/Model
lib/internal/Magento/Framework/Filter Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class Template extends AbstractTemplate implements \Magento\Framework\Mail\Templ
57
57
/**
58
58
* Config path to mail sending setting that shows if email communications are disabled
59
59
* @deprecated
60
+ * @see https://github.com/magento/magento2/issues/5988
60
61
*/
61
62
const XML_PATH_SYSTEM_SMTP_DISABLE = 'system/smtp/disable ' ;
62
63
Original file line number Diff line number Diff line change 9
9
*/
10
10
namespace Magento \Framework \Filter ;
11
11
12
- use Exception ;
13
12
use InvalidArgumentException ;
14
13
use Magento \Framework \App \ObjectManager ;
15
14
use Magento \Framework \Filter \DirectiveProcessor \DependDirective ;
@@ -170,12 +169,11 @@ public function getTemplateProcessor()
170
169
*
171
170
* @param string $value
172
171
* @return string
173
- * @throws Exception
172
+ * @throws \ Exception
174
173
*/
175
174
public function filter ($ value )
176
175
{
177
176
if (!is_string ($ value )) {
178
- //phpcs:ignore Magento2.Exceptions.DirectThrow
179
177
throw new InvalidArgumentException (__ (
180
178
'Argument \'value \' must be type of string, %1 given. ' ,
181
179
gettype ($ value )
You can’t perform that action at this time.
0 commit comments