[Issue] [PHPDOC] Fix bad phpdoc Magento\Framework\DB\Adapter\AdapterInterface::quoteColumnAs() #39598
Open
4 of 5 tasks
Labels
Issue: ready for confirmation
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Triage: Dev.Experience
Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
This issue is automatically created based on existing pull request: #39581: [PHPDOC] Fix bad phpdoc Magento\Framework\DB\Adapter\AdapterInterface::quoteColumnAs()
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 (*)
The text was updated successfully, but these errors were encountered: