mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix missing braces
This commit is contained in:
parent
c8a1bb314d
commit
4b3e76a976
3
thirdparty/difflib/difflib.php
vendored
3
thirdparty/difflib/difflib.php
vendored
@ -284,7 +284,7 @@ class DiffEngine
|
|||||||
$matches = $ymatches[$line];
|
$matches = $ymatches[$line];
|
||||||
reset($matches);
|
reset($matches);
|
||||||
$pointer = 0;
|
$pointer = 0;
|
||||||
foreach ($matches as $y)
|
foreach ($matches as $y) {
|
||||||
$pointer++;
|
$pointer++;
|
||||||
if (empty($this->in_seq[$y])) {
|
if (empty($this->in_seq[$y])) {
|
||||||
$k = $this->lcs_pos($y);
|
$k = $this->lcs_pos($y);
|
||||||
@ -292,6 +292,7 @@ class DiffEngine
|
|||||||
$ymids[$k] = $ymids[$k - 1];
|
$ymids[$k] = $ymids[$k - 1];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
foreach (array_slice($matches, $pointer) as $y) {
|
foreach (array_slice($matches, $pointer) as $y) {
|
||||||
if ($y > $this->seq[$k - 1]) {
|
if ($y > $this->seq[$k - 1]) {
|
||||||
assert($y < $this->seq[$k]);
|
assert($y < $this->seq[$k]);
|
||||||
|
Loading…
Reference in New Issue
Block a user