mimmi20/mezzio-navigation

View on GitHub
src/Service/NavigationFactoryTrait.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method preparePages has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function preparePages(
        array $pages,
        PageFactoryInterface $factory,
        RouteResult | null $routeResult = null,
        RouterInterface | null $router = null,
Severity: Minor
Found in src/Service/NavigationFactoryTrait.php - About 1 hr to fix

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

            array $pages,
            PageFactoryInterface $factory,
            RouteResult | null $routeResult = null,
            RouterInterface | null $router = null,
            ServerRequestInterface | null $request = null,
    Severity: Minor
    Found in src/Service/NavigationFactoryTrait.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status