Skip to content

Commit c2e7fed

Browse files
committed
Rename ListDiffNew to ListDiff
1 parent fdd4dc7 commit c2e7fed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/Caxy/HtmlDiff/HtmlDiff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ protected function diffElements($oldText, $newText, $stripWrappingTags = true)
368368
*/
369369
protected function diffList($oldText, $newText)
370370
{
371-
$diff = ListDiffNew::create($oldText, $newText, $this->config);
371+
$diff = ListDiff::create($oldText, $newText, $this->config);
372372

373373
return $diff->build();
374374
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Caxy\HtmlDiff\ListDiff\DiffList;
66
use Caxy\HtmlDiff\ListDiff\DiffListItem;
77

8-
class ListDiffNew extends AbstractDiff
8+
class ListDiff extends AbstractDiff
99
{
1010
protected static $listTypes = array('ul', 'ol', 'dl');
1111

@@ -14,7 +14,7 @@ class ListDiffNew extends AbstractDiff
1414
* @param string $newText
1515
* @param HtmlDiffConfig|null $config
1616
*
17-
* @return self
17+
* @return ListDiff
1818
*/
1919
public static function create($oldText, $newText, HtmlDiffConfig $config = null)
2020
{

0 commit comments

Comments
 (0)