Fix docBlock for hasInvoices(), hasShipments(), hasCreditmemos()#16554
Fix docBlock for hasInvoices(), hasShipments(), hasCreditmemos()#16554magento-engcom-team merged 2 commits intomagento:2.2-developfrom
Conversation
It returns int and not bool
|
Hi @nuzil. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
orlangur
left a comment
There was a problem hiding this comment.
They should be boolean even though they actually returning count. It's better to change implementation.
|
@orlangur |
|
Hi @nuzil. |
|
@VladimirZaets deal 👍 |
|
Hi @orlangur, thank you for the review. |
|
Hi @nuzil. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
|
Hi @nuzil @VladimirZaets @orlangur, |
|
@orlangur this should be moved to "Port to 2.3 Merged" on board. |
Description
Small improvements of docBlock for app/code/Magento/Sales/Model/Order.php docBlock description.
hasInvoices(), hasShipments(), hasCreditmemos() returns int and not bool
Manual testing scenarios
No testing scenarios, just docBlock changed
Contribution checklist