Code Duplication    Length = 13-13 lines in 2 locations

Presenters/MenuPresenter.php 2 locations

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