Code Duplication    Length = 13-13 lines in 2 locations

Presenters/MenuPresenter.php 2 locations

@@ 62-74 (lines=13) @@
59
    /**
60
     * {@inheritdoc }.
61
     */
62
    public function getMenuWithDropDownWrapper($item)
63
    {
64
        return '<li class="dropdown' . $this->getActiveStateOnChild($item, ' active') . '">
65
		          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
66
					' . $item->getIcon() . ' ' . $item->title . '
67
			      	<b class="caret"></b>
68
			      </a>
69
			      <ul class="dropdown-menu">
70
			      	' . $this->getChildMenuItems($item) . '
71
			      </ul>
72
		      	</li>'
73
        . PHP_EOL;
74
    }
75
76
    /**
77
     * Get multilevel menu wrapper.
@@ 83-95 (lines=13) @@
80
     *
81
     * @return string`
82
     */
83
    public function getMultiLevelDropdownWrapper($item)
84
    {
85
        return '<li class="dropdown' . $this->getActiveStateOnChild($item, ' active') . '">
86
		          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
87
					' . $item->getIcon() . ' ' . $item->title . '
88
			      	<b class="caret pull-right caret-right"></b>
89
			      </a>
90
			      <ul class="dropdown-menu">
91
			      	' . $this->getChildMenuItems($item) . '
92
			      </ul>
93
		      	</li>'
94
        . PHP_EOL;
95
    }
96
}
97