PHPColibri/framework

View on GitHub
Database/ModelCollection.php

Summary

Maintainability
C
7 hrs
Test Coverage

ModelCollection has 38 functions (exceeds 20 allowed). Consider refactoring.
Open

abstract class ModelCollection extends DynamicCollection implements DynamicCollectionInterface
{
    /** @var string|\Colibri\Database\Model */
    protected static $itemClass = 'itemClass_not_set';
    /** @var array */
Severity: Minor
Found in Database/ModelCollection.php - About 5 hrs to fix

    File ModelCollection.php has 277 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace Colibri\Database;
    
    use Colibri\Base\DynamicCollection;
    use Colibri\Base\DynamicCollectionInterface;
    Severity: Minor
    Found in Database/ModelCollection.php - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status