Skip to content

[Issue] ScopeConfigInterface can be more than a string #29345

Closed
@m2-assistant

Description

@m2-assistant

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 (*)

  1. Check Magento\Config\Model\Config\Backend\Serialized
  2. Note the possible return values

Proposed solution

Metadata

Metadata

Assignees

Labels

Fixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Format is validGate 1 Passed. Automatic verification of issue format passedPriority: P3May be fixed according to the position in the backlog.Progress: doneReported on 2.4.0Indicates original Magento version for the Issue report.Severity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions