-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[PHPDOC] Fix bad phpdoc Magento\Framework\DB\Adapter\AdapterInterface::quoteColumnAs() #39581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.4-develop
Are you sure you want to change the base?
[PHPDOC] Fix bad phpdoc Magento\Framework\DB\Adapter\AdapterInterface::quoteColumnAs() #39581
Conversation
Hi @dimitriBouteille. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
@magento create issue |
@magento run all tests |
@dimitriBouteille Thank you for your contribution & collaboration! ✔️ QA Passed Preconditions: Steps to reproduce: Before ![]()
After Functional and Static Tests are failing, hence moving this PR to Extended Testing. |
@engcom-Bravo The code is perfect 🚀 |
@magento run all tests |
@magento run all tests |
@magento run Functional Tests EE, Functional Tests CE, Functional Tests B2B, WebAPI Tests |
Description (*)
This PR fix the bad phpdoc for
\Magento\Framework\DB\Adapter\AdapterInterface::quoteColumnAs()
.The argument
$alias
can benull
orstring
.Here is an example where the type null is used :
magento2/app/code/Magento/Catalog/Model/ResourceModel/Product/Collection.php
Lines 2557 to 2562 in d06337a
Related Pull Requests
None
Fixed Issues (if relevant)
None
Manual testing scenarios (*)
Setup PHPSTAN with level 5 or higher and run check.
Questions or comments
The quality of Magento code needs to be improved so that it is easier to use the code quality tools (phpstan, rector, ...) ❤️
Contribution checklist (*)
Resolved issues: