luyadev/luya-module-cms

View on GitHub
src/models/Block.php

Summary

Maintainability
A
2 hrs
Test Coverage
C
78%

Block has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class Block extends NgRestModel
{
    private int $cachedDeletedId = 0;

    /**
Severity: Minor
Found in src/models/Block.php - About 2 hrs to fix

    Method createObject has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public static function createObject($class, $blockId, $id, $context, NavItemPage $pageObject = null): false|\luya\cms\base\BlockInterface
    Severity: Minor
    Found in src/models/Block.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status