Code Duplication    Length = 5-5 lines in 2 locations

lib/Caxy/HtmlDiff/HtmlDiff.php 1 location

@@ 96-100 (lines=5) @@
93
    {
94
        $this->prepare();
95
96
        if ($this->hasDiffCache() && $this->getDiffCache()->contains($this->oldText, $this->newText)) {
97
            $this->content = $this->getDiffCache()->fetch($this->oldText, $this->newText);
98
99
            return $this->content;
100
        }
101
102
        // Pre-processing Optimizations
103

lib/Caxy/HtmlDiff/Table/TableDiff.php 1 location

@@ 94-98 (lines=5) @@
91
    {
92
        $this->prepare();
93
94
        if ($this->hasDiffCache() && $this->getDiffCache()->contains($this->oldText, $this->newText)) {
95
            $this->content = $this->getDiffCache()->fetch($this->oldText, $this->newText);
96
97
            return $this->content;
98
        }
99
100
        $this->buildTableDoms();
101