We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 235607c commit e79d9f1Copy full SHA for e79d9f1
lib/Diff/Renderer/Html/Array.php
@@ -150,7 +150,7 @@ private function getChangeExtent($fromLine, $toLine)
150
{
151
$start = 0;
152
$limit = min(strlen($fromLine), strlen($toLine));
153
- while($start < $limit && $fromLine{$start} == $toLine{$start}) {
+ while ($start < $limit && $fromLine[$start] == $toLine[$start]) {
154
++$start;
155
}
156
$end = -1;
0 commit comments