src/Reference/HasOneSql.php
Method _addField
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function _addField(string $fieldName, bool $theirFieldIsTitle, ?string $theirFieldName, array $defaults): SqlExpressionField
{
$ourModel = $this->getOurModel();
$fieldExpression = $ourModel->addExpression($fieldName, array_merge([
- Create a ticketCreate a ticket