-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Incorrect @return type at getSourceModel in Eav\Attribute #25278
Comments
Hi @pedrodim. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @pedrodim do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-Delta. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Delta Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
… Eav\Attribute
Hi @mkalakailo. Thank you for working on this issue.
|
Hi @pedrodim. Thank you for your report.
The fix will be available with the upcoming 2.4.0 release. |
Preconditions (*)
Steps to reproduce (*)
\Magento\Catalog\Model\ResourceModel\Eav\Attribute::getSourceModel()
in filevendor/magento/module-catalog/Model/ResourceModel/Eav/Attribute.php
.Expected result (*)
getSourceModel
DocBlock should say it returnsstring|null
.Actual result (*)
getSourceModel
DocBlock return type is\Magento\Eav\Model\Entity\Attribute\Source\AbstractSource
.The text was updated successfully, but these errors were encountered: