Skip to content

Commit d6981cd

Browse files
committed
Merge remote-tracking branch 'gl/AC-1379_v1' into GL_Mainline_PR_06012022
2 parents beee1a0 + 0e80241 commit d6981cd

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app/code/Magento/Variable/Model/Variable.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
*/
2323
class Variable extends AbstractModel
2424
{
25-
const TYPE_TEXT = 'text';
26-
27-
const TYPE_HTML = 'html';
25+
/**
26+
* Variable value types.
27+
*/
28+
public const TYPE_TEXT = 'text';
29+
public const TYPE_HTML = 'html';
2830

2931
/**
3032
* @var int
@@ -170,6 +172,7 @@ public function validate()
170172

171173
/**
172174
* Retrieve variables option array
175+
*
173176
* @todo: extract method as separate class
174177
* @param bool $withGroup
175178
* @return array

0 commit comments

Comments
 (0)