Open m2-assistant[bot] opened 3 years ago
Hi @engcom-November. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hello @kassner,
Thank you for the report and collaboration!
Verified this issue on 2.4-develop.
When calling $item->getOrderItem()
of type Magento\Sales\Model\Order\Item
inside $block->getItemPrice($item->getOrderItem())
of type \Magento\Bundle\Block\Sales\Order\Items\Renderer
, php stan is throwing the below error:
The return type of getItemPrice
method is incorrect.
Hence confirming the issue.
Thank you.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-11737 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-November. Thank you for verifying the issue.
Issue Available: @engcom-November, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-11737
This issue is automatically created based on existing pull request: magento/magento2#31823: Update bundle price renderer docblock
Description
PHPStan fails when using the original block:
default.phtml line 25:
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios
Questions or comments
Contribution checklist (*)