src/Reference/HasOneSql.php

Summary

Maintainability
A
1 hr
Test Coverage

Method _addField has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function _addField(string $fieldName, bool $theirFieldIsTitle, ?string $theirFieldName, array $defaults): SqlExpressionField
    {
        $ourModel = $this->getOurModel();

        $fieldExpression = $ourModel->addExpression($fieldName, array_merge([
Severity: Minor
Found in src/Reference/HasOneSql.php - About 1 hr to fix

There are no issues that match your filters.

Category
Status