Skip to content

Commit 5483c02

Browse files
SpacePossumsebastianbergmann
authored andcommitted
Remove dead code.
1 parent 10049e1 commit 5483c02

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Differ.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ public function diff($from, $to, LongestCommonSubsequenceCalculator $lcs = null)
5353
$start = isset($old[0]) ? $old[0] : 0;
5454
$end = \count($diff);
5555

56-
if ($tmp = \array_search($end, $old)) {
57-
$end = $tmp;
58-
}
59-
6056
return $this->getBuffer($diff, $old, $start, $end);
6157
}
6258

0 commit comments

Comments
 (0)