bnomei/kirby3-collect

View on GitHub

Showing 1 of 1 total issue

Method collectionMethods has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public static function collectionMethods(): array
    {
        $methodNames = [
            'all', 'average', 'avg',
            'chunk', 'chunkWhile', 'collapse', 'collect', 'combine', 'concat', 'contains', 'containsStrict', 'count', 'countBy', 'crossJoin',
Severity: Minor
Found in classes/Collect.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language