File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
app/code/Magento/PageBuilder/Component/Form/Element Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,9 @@ class Wysiwyg extends \Magento\Ui\Component\Form\Element\Wysiwyg
39
39
* @param array $config
40
40
* @param PageBuilderConfig|null $pageBuilderConfig
41
41
* @param bool $overrideSnapshot
42
+ * @SuppressWarnings(PHPMD.CyclomaticComplexity)
42
43
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
44
+ * @throws \Magento\Framework\Exception\NoSuchEntityException
43
45
*/
44
46
public function __construct (
45
47
ContextInterface $ context ,
@@ -65,7 +67,7 @@ public function __construct(
65
67
$ config ['wysiwyg ' ] = (bool )$ attribute ->getIsWysiwygEnabled ();
66
68
}
67
69
} catch (NoSuchEntityException $ e ) {
68
- // This model is used by non product attributes
70
+ throw new NoSuchEntityException ();
69
71
}
70
72
}
71
73
You can’t perform that action at this time.
0 commit comments