Finesse/Wired

View on GitHub
src/MapperFeatures/AttachTrait.php

Summary

Maintainability
A
1 hr
Test Coverage

Method attachWithDetails has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

        $parents,
        string $relationName,
        $children,
        string $onMatch,
        bool $detachOther,
Severity: Major
Found in src/MapperFeatures/AttachTrait.php - About 50 mins to fix

    Method attachModelsOfSameClass has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

            array $parents,
            string $relationName,
            array $children,
            string $onMatch,
            bool $detachOther,
    Severity: Major
    Found in src/MapperFeatures/AttachTrait.php - About 50 mins to fix

      Method setAttachments has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              $parents,
              string $relationName,
              $children,
              bool $keepOther = false,
              callable $getAttachmentData = null,
      Severity: Minor
      Found in src/MapperFeatures/AttachTrait.php - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status