Finesse/Wired

View on GitHub
src/Relations/RelationHelpers.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method addModelsConstraintToQuery has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        ModelQuery $query,
        string $parentField,
        string $childField,
        string $childClass,
        array $models
Severity: Minor
Found in src/Relations/RelationHelpers.php - About 35 mins to fix

    Method addModelConstraintToQuery has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            ModelQuery $query,
            string $parentField,
            string $childField,
            string $childClass,
            ModelInterface $model
    Severity: Minor
    Found in src/Relations/RelationHelpers.php - About 35 mins to fix

      Method addClauseConstraintToQuery has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

              ModelQuery $query,
              string $parentField,
              string $childField,
              string $childClass,
              \Closure $clause = null
      Severity: Minor
      Found in src/Relations/RelationHelpers.php - About 35 mins to fix

        Method addConstraintToQuery has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

                ModelQuery $query,
                string $parentField,
                string $childField,
                string $childClass,
                $constraint
        Severity: Minor
        Found in src/Relations/RelationHelpers.php - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status