Code Duplication    Length = 7-7 lines in 2 locations

lib/Caxy/HtmlDiff/ListDiffLines.php 2 locations

@@ 213-219 (lines=7) @@
210
     *
211
     * @return string
212
     */
213
    protected function deleteListItem($li)
214
    {
215
        $this->addClassToNode($li, self::CLASS_LIST_ITEM_DELETED);
216
        $li->innertext = sprintf('<del>%s</del>', $li->innertext);
217
218
        return $li->outertext;
219
    }
220
221
    /**
222
     * @param \simple_html_dom_node $li
@@ 227-233 (lines=7) @@
224
     *
225
     * @return string
226
     */
227
    protected function addListItem($li, $replacement = false)
228
    {
229
        $this->addClassToNode($li, $replacement ? self::CLASS_LIST_ITEM_CHANGED : self::CLASS_LIST_ITEM_ADDED);
230
        $li->innertext = sprintf('<ins>%s</ins>', $li->innertext);
231
232
        return $li->outertext;
233
    }
234
235
    /**
236
     * @param Operation[]|array     $operations