EmicoEcommerce/Magento2TweakwiseExport

View on GitHub
Traits/Stock/HasStockThroughChildren.php

Summary

Maintainability
A
1 hr
Test Coverage

Method getStockItem has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getStockItem(): ?StockItem
    {
        if ($this->isStockCombined) {
            return $this->stockItem;
        }
Severity: Minor
Found in Traits/Stock/HasStockThroughChildren.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status