CORE-POS/Common-Bundle

View on GitHub
src/FormLib.php

Summary

Maintainability
A
0 mins
Test Coverage

Avoid unused private methods such as 'filterCallback'.
Open

    private static function filterCallback($item)
    {
        return $item;
    }
Severity: Minor
Found in src/FormLib.php by phpmd

UnusedPrivateMethod

Since: 0.2

Unused Private Method detects when a private method is declared but is unused.

Example

class Something
{
    private function foo() {} // unused
}

Source https://phpmd.org/rules/unusedcode.html#unusedprivatemethod

There are no issues that match your filters.

Category
Status