Skip to content

Commit

Permalink
Codestyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
supercid authored Oct 14, 2024
1 parent 9c9121e commit 810adf0
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Model/Indexer/Partial/ProductInventoryIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function __construct(
Emulation $storeEmulation,
ProcessManager $processManager,
InputInterface $input,
IndexerStatusServiceInterface $indexerStatusService,
IndexerStatusServiceInterface $indexerStatusService
) {
$this->productCollectionBuilder = $productCollectionBuilder;
$this->modeSwitcher = $modeSwitcher;
Expand Down Expand Up @@ -142,4 +142,4 @@ public function getCollection(Store $store, array $ids = []): ProductCollection
}
return $this->productCollectionBuilder->build();
}
}
}
4 changes: 2 additions & 2 deletions Model/Indexer/Partial/ProductPriceIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function __construct(
Emulation $storeEmulation,
ProcessManager $processManager,
InputInterface $input,
IndexerStatusServiceInterface $indexerStatusService,
IndexerStatusServiceInterface $indexerStatusService
) {
$this->productCollectionBuilder = $productCollectionBuilder;
$this->modeSwitcher = $modeSwitcher;
Expand Down Expand Up @@ -142,4 +142,4 @@ public function getCollection(Store $store, array $ids = []): ProductCollection
}
return $this->productCollectionBuilder->build();
}
}
}
2 changes: 1 addition & 1 deletion Model/Product/Partial/InventoryProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function __construct(
NostoUrlBuilder $urlBuilder,
StockService $stockService,
FullProductBuilder $fullProductBuilder,
NostoSkuCollection $skuCollection,
NostoSkuCollection $skuCollection
) {
$this->nostoDataHelper = $nostoDataHelper;
$this->urlBuilder = $urlBuilder;
Expand Down
7 changes: 2 additions & 5 deletions Model/Product/Partial/PriceProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ class PriceProduct

/** @var PriceVariationCollection */
private PriceVariationCollection $priceVariationCollection;



/**
* Builder constructor.
* @param NostoDataHelper $nostoDataHelper
Expand All @@ -79,7 +76,7 @@ public function __construct(
NostoPriceHelper $priceHelper,
NostoUrlBuilder $urlBuilder,
CurrencyHelper $nostoCurrencyHelper,
PriceVariationCollection $priceVariationCollection,
PriceVariationCollection $priceVariationCollection
) {
$this->nostoDataHelper = $nostoDataHelper;
$this->nostoPriceHelper = $priceHelper;
Expand Down Expand Up @@ -125,4 +122,4 @@ public function build(
}
return $nostoProduct;
}
}
}
2 changes: 1 addition & 1 deletion Model/Service/Sync/Partial/InventoryBulkConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@

/**
* Inventory Bulk Consumer
* Used for bulk operations when doing partial inventory updates
*
* Class InventoryBulkConsumer
*/
class InventoryBulkConsumer extends AbstractBulkConsumer
{
Expand Down
2 changes: 1 addition & 1 deletion Model/Service/Sync/Partial/PriceBulkConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
/**
* Price Bulk Consumer
*
* Class PriceBulkConsumer
* Used for bulk operations when doing partial price updates
*/
class PriceBulkConsumer extends AbstractBulkConsumer
{
Expand Down
4 changes: 2 additions & 2 deletions Model/Service/Sync/Partial/PriceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ public function __construct(
ProductService $productService,
CacheService $cacheService,
ProductRepository $productRepository,
$apiBatchSize,
$apiTimeout
$apiBatchSize,
$apiTimeout
) {
parent::__construct($nostoDataHelper, $nostoHelperAccount, $logger);
$this->productService = $productService;
Expand Down

0 comments on commit 810adf0

Please sign in to comment.