We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents beee1a0 + 0e80241 commit d6981cdCopy full SHA for d6981cd
app/code/Magento/Variable/Model/Variable.php
@@ -22,9 +22,11 @@
22
*/
23
class Variable extends AbstractModel
24
{
25
- const TYPE_TEXT = 'text';
26
-
27
- const TYPE_HTML = 'html';
+ /**
+ * Variable value types.
+ */
28
+ public const TYPE_TEXT = 'text';
29
+ public const TYPE_HTML = 'html';
30
31
/**
32
* @var int
@@ -170,6 +172,7 @@ public function validate()
170
172
171
173
174
* Retrieve variables option array
175
+ *
176
* @todo: extract method as separate class
177
* @param bool $withGroup
178
* @return array
0 commit comments