Skip to content

Commit ad3c75b

Browse files
committed
Merge remote-tracking branch 'origin/AC-13594' into spartans_pr_29102025
2 parents 293228d + d66b2ec commit ad3c75b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/code/Magento/Catalog/Plugin/Model/ConfigPlugin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright 2025 Adobe
44
* All Rights Reserved.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Catalog\Plugin\Model;
89

@@ -11,8 +12,7 @@
1112
use 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
*/
1717
class 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
{

dev/tests/integration/testsuite/Magento/Catalog/Plugin/Model/ConfigPluginTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
declare(strict_types=1);
77

8-
namespace integration\testsuite\Magento\Catalog\Plugin\Model;
8+
namespace Magento\Catalog\Plugin\Model;
99

1010
use Magento\Catalog\Api\ProductAttributeRepositoryInterface;
1111
use Magento\Catalog\Api\ProductRepositoryInterface;

0 commit comments

Comments
 (0)