luyadev/luya-module-admin

View on GitHub
src/components/AdminMenuBuilder.php

Summary

Maintainability
A
2 hrs
Test Coverage
C
75%

Method itemPoolApi has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public function itemPoolApi($name, $route, $icon, $apiEndpoint, $pool, array $options = [])
Severity: Minor
Found in src/components/AdminMenuBuilder.php - About 45 mins to fix

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

        public function itemApi($name, $route, $icon, $apiEndpoint, array $options = [])
    Severity: Minor
    Found in src/components/AdminMenuBuilder.php - About 35 mins to fix

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

          public function itemRoute($name, $route, $icon, $searchModelClass = null, array $options = [])
      Severity: Minor
      Found in src/components/AdminMenuBuilder.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status