[Issue] [PHPDOC] Fix bad phpdoc Magento\Framework\App\Config\ScopeConfigInterface #39492
Open
4 of 5 tasks
Labels
Area: Framework
Component: Framework/App
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: PR in progress
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
This issue is automatically created based on existing pull request: #39199: [PHPDOC] Fix bad phpdoc Magento\Framework\App\Config\ScopeConfigInterface
Description (*)
This PR fix bad phpdoc in
Magento\Framework\App\Config\ScopeConfigInterface
:getValue
: The$scopeCode
argument can accept StoreInterfaceisSetFlag
: The$scopeCode
argument can accept StoreInterfaceHere is an example where the type
StoreInterface
is used :magento2/lib/internal/Magento/Framework/App/Config.php
Lines 66 to 75 in 7377de5
For example, with PHPSTAN is very complicated to setup the project with level 5 or higher :(
Related Pull Requests
None
Fixed Issues (if relevant)
None
Manual testing scenarios (*)
Setup PHPSTAN with level 5 or higher and run check.
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: