deep-web-solutions/wordpress-framework-utilities

View on GitHub
src/includes/Hooks/HooksAdapterInterface.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    public function add_filter( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 );
Severity: Minor
Found in src/includes/Hooks/HooksAdapterInterface.php - About 35 mins to fix

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

        public function add_action( string $hook, ?object $component, string $callback, int $priority = 10, int $accepted_args = 1 );
    Severity: Minor
    Found in src/includes/Hooks/HooksAdapterInterface.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status