src/components/DummyMenu.php
Method itemToStructure
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function itemToStructure($item, $lang, $parentNavId)
{
$id = ArrayHelper::getValue($item, 'id');
$title = ArrayHelper::getValue($item, 'title');
return [