luyadev/luya-testsuite

View on GitHub
src/components/DummyMenu.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method itemToStructure has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function itemToStructure($item, $lang, $parentNavId)
    {
        $id = ArrayHelper::getValue($item, 'id');
        $title = ArrayHelper::getValue($item, 'title');
        return [
Severity: Minor
Found in src/components/DummyMenu.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status