Skip to content

Commit fd2575e

Browse files
committed
MAGETWO-91512: Free Shipping Cart Price Rule not working when UPS shipping method is enabled
1 parent 7dac245 commit fd2575e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

app/code/Magento/Elasticsearch/Elasticsearch5/Model/Adapter/FieldMapper/ProductFieldMapper.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public function getFieldName($attributeCode, $context = [])
110110
* @param array $context
111111
* @return array
112112
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
113+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
113114
*/
114115
public function getAllAttributesTypes($context = [])
115116
{

app/code/Magento/Elasticsearch/Test/Unit/Elasticsearch5/Model/Adapter/FieldMapper/ProductFieldMapperTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ public function testGetFieldNameWithoutAttribute()
180180
/**
181181
* @dataProvider attributeProvider
182182
* @param string $attributeCode
183-
* @param $inputType
184-
* @param $searchAttributes
185-
* @param $expected
183+
* @param string $inputType
184+
* @param array $searchAttributes
185+
* @param array $expected
186186
* @return void
187187
*/
188188
public function testGetAllAttributesTypes($attributeCode, $inputType, $searchAttributes, $expected)

app/code/Magento/Elasticsearch/Test/Unit/Model/Adapter/FieldMapper/ProductFieldMapperTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ public function testGetFieldNameWithoutAttribute()
182182
/**
183183
* @dataProvider attributeProvider
184184
* @param string $attributeCode
185-
*
185+
* @param string $inputType
186+
* @param array $searchAttributes
187+
* @param array $expected
186188
* @return void
187189
*/
188190
public function testGetAllAttributesTypes($attributeCode, $inputType, $searchAttributes, $expected)

0 commit comments

Comments
 (0)