[Issue] [PHPDOC] Fix functions orderComment in Magento\Sales\Model\Order #39575
Labels
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: #39572: [PHPDOC] Fix functions orderComment in Magento\Sales\Model\Order
Description (*)
This PR fix the bad phpdoc in
\Magento\Sales\Model\Order
. The argument$comment
in the following functions accept a Phrase objectHere is an example where the type
Phrase
is used :magento2/app/code/Magento/Paypal/Model/Ipn.php
Lines 220 to 226 in d06337a
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.
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: