-
-
Notifications
You must be signed in to change notification settings - Fork 449
chore: docs blocks update #5147
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,6 +24,7 @@ class Mage_ConfigurableSwatches_Helper_Mediafallback extends Mage_Core_Helper_Ab | |||||||||||||||||
| * - product must have children products attached | ||||||||||||||||||
| * | ||||||||||||||||||
| * @param int $storeId | ||||||||||||||||||
|
Comment on lines
25
to
26
|
||||||||||||||||||
| * | |
| * @param int $storeId | |
| * | |
| * @param Mage_Catalog_Model_Product[] $parentProducts | |
| * @param int $storeId | |
| * @return void |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docblock should include @return void annotation for consistency with other methods in this file. The method doesn't return any value.
| * @throws Mage_Core_Exception | |
| * @throws Mage_Core_Exception | |
| * @return void |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docblock should include both @param Mage_Catalog_Model_Product $product for the method parameter and @return void annotation for consistency with other methods in this file.
| * Groups media gallery images by local images and child images | |
| * Groups media gallery images by local images and child images | |
| * | |
| * @param Mage_Catalog_Model_Product $product | |
| * @return void |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docblock is missing @param Mage_Catalog_Model_Product[] $products annotation for the first parameter and should include @return void for consistency with other methods in this file.
| * | |
| * @param int $storeId | |
| * | |
| * @param Mage_Catalog_Model_Product[] $products | |
| * @param int $storeId | |
| * @return void |
Copilot
AI
Dec 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docblock is missing @param Mage_Catalog_Model_Product[] $products annotation for the first parameter and should include @return void for consistency with other methods in this file.
| * @param int $storeId | |
| * @throws Mage_Core_Exception | |
| * @throws Zend_Cache_Exception | |
| * @param Mage_Catalog_Model_Product[] $products Array of parent products | |
| * @param int $storeId Store ID | |
| * @throws Mage_Core_Exception | |
| * @throws Zend_Cache_Exception | |
| * @return void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docblock is missing
@param Mage_Catalog_Model_Product[] $productsannotation for the first parameter and should include@return voidfor consistency with other similar methods in the codebase.