Skip to content

Commit 4bef91a

Browse files
committed
ACP2E-767: Remove Magento Catalog dependency on Magento Inventory
1 parent 1ba8e7c commit 4bef91a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/internal/Magento/Framework/Indexer/Config/Converter.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ class Converter implements ConverterInterface
1717
*/
1818
private SortingAdjustmentInterface $sortingAdjustment;
1919

20+
/**
21+
* @param SortingAdjustmentInterface $sortingAdjustment
22+
*/
2023
public function __construct(SortingAdjustmentInterface $sortingAdjustment)
2124
{
2225
$this->sortingAdjustment = $sortingAdjustment;
@@ -249,6 +252,7 @@ protected function convertField(\DOMElement $node, $data)
249252
* @param \DOMNode $node
250253
* @return string
251254
* @deprecated 101.0.0
255+
* @see not used anymore
252256
*/
253257
protected function getTranslatedNodeValue(\DOMNode $node)
254258
{
@@ -369,6 +373,7 @@ private function expandDependencies(array $list, string $indexerId, array $accum
369373
);
370374
}
371375
$relatedResult = $this->expandDependencies($list, $relatedIndexerId, $accumulated);
376+
// phpstan:ignore
372377
$result = array_unique(array_merge($result, $relatedResult));
373378
}
374379
return $result;

lib/internal/Magento/Framework/Indexer/Config/Converter/SortingAdjustment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class SortingAdjustment implements SortingAdjustmentInterface
2222
{
2323
/**
24-
* @inheirtdoc
24+
* @inheridoc
2525
*/
2626
public function adjust(array $indexersList): array
2727
{

0 commit comments

Comments
 (0)