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.
1 parent 5c87a66 commit fe464acCopy full SHA for fe464ac
Helper/ConfigHelper.php
@@ -236,14 +236,14 @@ public function getAutocompleteSelector($storeId = null)
236
}
237
238
/**
239
- * Returns config value
+ * Returns config flag
240
*
241
* @param $storeId
242
- * @return mixed
+ * @return bool
243
*/
244
- public function includeNonVisibleProductsInIndex($storeId = null)
+ public function includeNonVisibleProductsInIndex($storeId = null): bool
245
{
246
- return $this->configInterface->getValue(
+ return $this->configInterface->isSetFlag(
247
self::INCLUDE_NON_VISIBLE_PRODUCTS_IN_INDEX,
248
ScopeInterface::SCOPE_STORE,
249
$storeId
0 commit comments