Code Duplication    Length = 7-7 lines in 2 locations

lib/Caxy/HtmlDiff/HtmlDiff.php 2 locations

@@ 340-346 (lines=7) @@
337
     *
338
     * @return string
339
     */
340
    protected function diffList($oldText, $newText)
341
    {
342
        $diff = new ListDiffNew($oldText, $newText, $this->encoding, $this->specialCaseTags, $this->groupDiffs);
343
        $diff->setMatchThreshold($this->matchThreshold);
344
345
        return $diff->build();
346
    }
347
348
    /**
349
     * @param string $oldText
@@ 354-360 (lines=7) @@
351
     *
352
     * @return string
353
     */
354
    protected function diffTables($oldText, $newText)
355
    {
356
        $diff = new TableDiff($oldText, $newText, $this->encoding, $this->specialCaseTags, $this->groupDiffs);
357
        $diff->setMatchThreshold($this->matchThreshold);
358
359
        return $diff->build();
360
    }
361
362
    /**
363
     * @param string $oldText