Skip to content

Commit 1ea3c3e

Browse files
author
Dmytro Poperechnyy
committed
MAGETWO-34477: Backend Menu Accessibility improvements
- Added suppress warning to renderNavigation method;
1 parent d36fa98 commit 1ea3c3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Backend/Block/Menu.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ protected function _addSubMenu($menuItem, $level, $limit, $id = null)
432432
* @param int $limit
433433
* @param array $colBrakes
434434
* @return string HTML
435+
* @SuppressWarnings(PHPMD.NPathComplexity)
435436
*/
436437
public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
437438
{

0 commit comments

Comments
 (0)