File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
app/code/Magento/Catalog/Model/Product Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function __construct(
55
55
/**
56
56
* Retrieve visible in catalog ids array
57
57
*
58
- * @return string []
58
+ * @return int []
59
59
*/
60
60
public function getVisibleInCatalogIds ()
61
61
{
@@ -65,7 +65,7 @@ public function getVisibleInCatalogIds()
65
65
/**
66
66
* Retrieve visible in search ids array
67
67
*
68
- * @return string []
68
+ * @return int []
69
69
*/
70
70
public function getVisibleInSearchIds ()
71
71
{
@@ -75,7 +75,7 @@ public function getVisibleInSearchIds()
75
75
/**
76
76
* Retrieve visible in site ids array
77
77
*
78
- * @return string []
78
+ * @return int []
79
79
*/
80
80
public function getVisibleInSiteIds ()
81
81
{
@@ -86,6 +86,7 @@ public function getVisibleInSiteIds()
86
86
* Retrieve option array
87
87
*
88
88
* @return array
89
+ * phpcs:disable Magento2.Functions.StaticFunction
89
90
*/
90
91
public static function getOptionArray ()
91
92
{
@@ -134,6 +135,7 @@ public static function getOptionText($optionId)
134
135
$ options = self ::getOptionArray ();
135
136
return isset ($ options [$ optionId ]) ? $ options [$ optionId ] : null ;
136
137
}
138
+ //phpcs:enable Magento2.Functions.StaticFunction
137
139
138
140
/**
139
141
* Retrieve flat column definition
@@ -251,7 +253,7 @@ public function addValueSortToCollection($collection, $dir = 'asc')
251
253
}
252
254
253
255
/**
254
- * { @inheritdoc}
256
+ * @inheritdoc
255
257
*/
256
258
public function toOptionArray ()
257
259
{
You can’t perform that action at this time.
0 commit comments