Skip to content

Commit 16d9246

Browse files
committed
MAGETWO-65145: Performance degradation on front end on configurable products with huge amount of variation
1 parent df8f246 commit 16d9246

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

app/code/Magento/ConfigurableProduct/Model/ResourceModel/Attribute/OptionSelectBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ public function getSelect(AbstractAttribute $superAttribute, int $productId, Sco
126126

127127
return $select;
128128
}
129-
}
129+
}

app/code/Magento/ConfigurableProduct/Model/ResourceModel/Attribute/OptionSelectBuilderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ interface OptionSelectBuilderInterface
2323
* @return Select
2424
*/
2525
public function getSelect(AbstractAttribute $superAttribute, int $productId, ScopeInterface $scope);
26-
}
26+
}

app/code/Magento/ConfigurableProduct/Test/Unit/Model/AttributeOptionProviderTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Magento\Eav\Model\Entity\Attribute\AbstractAttribute;
1616
use Magento\ConfigurableProduct\Model\ResourceModel\Product\Type\Configurable\Attribute;
1717

18-
1918
/**
2019
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2120
*/

app/code/Magento/ConfigurableProduct/Test/Unit/Model/ResourceModel/Attribute/OptionSelectBuilderTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ class OptionSelectBuilderTest extends \PHPUnit_Framework_TestCase
5858
* @var ScopeInterface|\PHPUnit_Framework_MockObject_MockObject
5959
*/
6060
private $scope;
61-
62-
61+
6362
protected function setUp()
6463
{
6564
$this->connectionMock = $this->getMockBuilder(AdapterInterface::class)

0 commit comments

Comments
 (0)