File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/Catalog/Plugin/Model
dev/tests/integration/testsuite/Magento/Catalog/Plugin/Model Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33 * Copyright 2025 Adobe
44 * All Rights Reserved.
55 */
6+ declare (strict_types=1 );
67
78namespace Magento \Catalog \Plugin \Model ;
89
1112use Magento \Eav \Model \Config as EavConfig ;
1213
1314/**
14- * Plugin to ensure special_price attribute is always loaded in product listings
15- * even when used_in_product_listing = 0
15+ * Plugin to ensure special_price attribute is always loaded in product listings even when used_in_product_listing = 0
1616 */
1717class ConfigPlugin
1818{
@@ -28,11 +28,11 @@ public function __construct(
2828
2929 /**
3030 * Add special_price attribute to the list of attributes used in product listing
31- * regardless of its used_in_product_listing setting
3231 *
3332 * @param Subject $subject
3433 * @param array $result
3534 * @return array
35+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
3636 */
3737 public function afterGetAttributesUsedInProductListing (Subject $ subject , array $ result ): array
3838 {
Original file line number Diff line number Diff line change 55 */
66declare (strict_types=1 );
77
8- namespace integration \ testsuite \ Magento \Catalog \Plugin \Model ;
8+ namespace Magento \Catalog \Plugin \Model ;
99
1010use Magento \Catalog \Api \ProductAttributeRepositoryInterface ;
1111use Magento \Catalog \Api \ProductRepositoryInterface ;
You can’t perform that action at this time.
0 commit comments