Closed
Description
This issue is automatically created based on existing pull request: #29305: ScopeConfigInterface can be more than a string
Summary (*)
Magento 2.4-develop
Reverts parts of a5a98df as it restricts @magentoConfigFixture
unnecessarily to strings.
Neither Magento\Framework\App\Config\ScopeConfigInterface
nor Magento\Framework\App\Config
have this limitation.
/**
* Retrieve config value by path and scope
*
* @param string $path
* @param string $scope
* @param null|int|string $scopeCode
* @return mixed
*/
public function getValue(
$path = null,
$scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT,
$scopeCode = null
) {
Examples (*)
- Check Magento\Config\Model\Config\Backend\Serialized
- Note the possible return values
Proposed solution
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 1 Passed. Automatic verification of issue format passedMay be fixed according to the position in the backlog.Indicates original Magento version for the Issue report.Affects non-critical data or functionality and does not force users to employ a workaround.
Type
Projects
Status
Done