Code Duplication    Length = 13-13 lines in 2 locations

Presenters/MenuPresenter.php 2 locations

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