module/Application/src/Most/Adapter/Attr.php
Method getCars
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getCars(Sql\Select $select, string $language): array
{
$attribute = currentFromResultSetInterface($this->attributeTable->select(['id' => $this->attribute]));
if (! $attribute) {
throw new Exception("Attribute '$this->attribute' not found");
syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
protected int $attribute;
- Exclude checks