Skip to content

Commit e581624

Browse files
committed
MAGE-1066 Fix unexpected null type
1 parent 499aa68 commit e581624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/ConfigHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ public function getSearchOnlyAPIKey($storeId = null)
12421242
*/
12431243
public function getIndexPrefix(int $storeId = null): string
12441244
{
1245-
return $this->configInterface->getValue(self::INDEX_PREFIX, ScopeInterface::SCOPE_STORE, $storeId);
1245+
return (string) $this->configInterface->getValue(self::INDEX_PREFIX, ScopeInterface::SCOPE_STORE, $storeId);
12461246
}
12471247

12481248
/**

0 commit comments

Comments
 (0)