Skip to content

Commit 9c95e80

Browse files
committed
MAGETWO-94104: [2.3] Quantity Increments of selected simple within a Configurable Product does not work
- static test fix
1 parent 9012ff1 commit 9c95e80

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

app/code/Magento/Catalog/Observer/CategoryProductIndexer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
use Magento\Framework\Event\ObserverInterface;
1313

1414
/**
15-
* Checks if a category has changed products and depends on indexer configuration
16-
* marks `Category Products` indexer as invalid or reindexes affected products.
15+
* Checks if a category has changed products and depends on indexer configuration.
1716
*/
1817
class CategoryProductIndexer implements ObserverInterface
1918
{

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ private function getAttributes()
532532
/**
533533
* Loads attributes for specified groups at once
534534
*
535-
* @param AttributeGroupInterface[] ...$groups
535+
* @param AttributeGroupInterface[] $groups
536536
* @return @return ProductAttributeInterface[]
537537
*/
538538
private function loadAttributesForGroups(array $groups)
@@ -707,7 +707,8 @@ public function setupAttributeMeta(ProductAttributeInterface $attribute, $groupC
707707
}
708708

709709
/**
710-
* Returns attribute default value, based on db setting or setting in the system configuration
710+
* Returns attribute default value, based on db setting or setting in the system configuration.
711+
*
711712
* @param ProductAttributeInterface $attribute
712713
* @return null|string
713714
*/
@@ -742,6 +743,8 @@ private function convertOptionsValueToString(array $options) : array
742743
}
743744

744745
/**
746+
* Adds 'use default value' checkbox.
747+
*
745748
* @param ProductAttributeInterface $attribute
746749
* @param array $meta
747750
* @return array

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Websites.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ protected function getWebsitesOptions()
333333
}
334334

335335
/**
336+
* Returns websites options list.
337+
*
336338
* @return array
337339
* @since 101.0.0
338340
*/

app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
use Magento\Quote\Model\Quote\Item;
2121

2222
/**
23+
* Quote item quantity validator.
24+
*
2325
* @api
2426
* @since 100.0.2
2527
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
@@ -70,7 +72,6 @@ public function __construct(
7072
*
7173
* @param \Magento\Framework\DataObject $result
7274
* @param Item $quoteItem
73-
* @param bool $removeError
7475
* @return void
7576
*/
7677
private function addErrorInfoToQuote($result, $quoteItem)

app/code/Magento/CatalogInventory/Model/Quote/Item/QuantityValidator/Initializer/Option.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
use Magento\CatalogInventory\Api\StockStateInterface;
1010
use Magento\CatalogInventory\Model\Quote\Item\QuantityValidator\QuoteItemQtyList;
1111

12+
/**
13+
* Quote item option initializer.
14+
*/
1215
class Option
1316
{
1417
/**

app/code/Magento/Elasticsearch/Model/Config.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ public function __construct(
8484
}
8585

8686
/**
87-
* {@inheritdoc}
87+
* @inheritdoc
88+
*
8889
* @since 100.1.0
8990
*/
9091
public function prepareClientOptions($options = [])
@@ -152,7 +153,7 @@ public function getIndexPrefix()
152153
}
153154

154155
/**
155-
* get Elasticsearch entity type
156+
* Get Elasticsearch entity type
156157
*
157158
* @return string
158159
* @since 100.1.0

0 commit comments

Comments
 (0)