PressLabs/toplytics

View on GitHub
src/components/Loader.php

Summary

Maintainability
A
2 hrs
Test Coverage

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

    private function add($hooks, $hook, $component, $callback, $priority, $accepted_args)
Severity: Minor
Found in src/components/Loader.php - About 45 mins to fix

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

        public function addFilter($hook, $component, $callback, $priority = 10, $accepted_args = 1)
    Severity: Minor
    Found in src/components/Loader.php - About 35 mins to fix

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

          public function addAction($hook, $component, $callback, $priority = 10, $accepted_args = 1)
      Severity: Minor
      Found in src/components/Loader.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status