imponeer/smarty-xo

View on GitHub
src/XOPageNavFunction.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method buildIndividualPageLinks has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    protected function buildIndividualPageLinks($current, $linksCount, $last, $size, $url, $liClass, $aClass): string
Severity: Major
Found in src/XOPageNavFunction.php - About 50 mins to fix

    Method buildNextPageLink has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        protected function buildNextPageLink($current, $last, $offset, $size, $url, $liClass, $aClass): string
    Severity: Major
    Found in src/XOPageNavFunction.php - About 50 mins to fix

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

          protected function buildPreviousPageLink($current, $offset, $size, $url, $liClass, $aClass): string
      Severity: Minor
      Found in src/XOPageNavFunction.php - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status