Smile-SA/magento2-module-product-label

View on GitHub
Model/ProductLabel.php

Summary

Maintainability
B
4 hrs
Test Coverage

ProductLabel has 27 functions (exceeds 20 allowed). Consider refactoring.
Open

class ProductLabel extends AbstractModel implements ProductLabelInterface
{
    public const CACHE_TAG = 'smile_productlabel';

    protected StoreManagerInterface $storeManager;
Severity: Minor
Found in Model/ProductLabel.php - About 3 hrs to fix

    Method __construct has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            Context               $context,
            Registry              $registry,
            StoreManagerInterface $storeManager,
            Filesystem            $filesystem,
            ImageUploader         $imageUploader,
    Severity: Major
    Found in Model/ProductLabel.php - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status