|
@@ -25,8 +25,7 @@ |
|
|
block discarded – undo |
|
25
|
25
|
foreach ($menuItems as $index => $menuItem) { |
|
26
|
26
|
if (!array_key_exists('can', $menuItem) || ($menuResolver && $menuResolver->resolve($menuItem['can']))) { |
|
27
|
27
|
$link = array_key_exists('link', $menuItem) ? |
|
28
|
|
- $menuItem['link'] : |
|
29
|
|
- ['type' => MenuItemLinkType::URI, 'uri' => '#']; |
|
|
28
|
+ $menuItem['link'] : ['type' => MenuItemLinkType::URI, 'uri' => '#']; |
|
30
|
29
|
|
|
31
|
30
|
$hasIcon = array_key_exists('icon', $menuItem); |
|
32
|
31
|
|
Please login to merge, or discard this patch.