Skip to content

Commit 22c33af

Browse files
committed
Fix JsonPointer::remove() not handling sequential arrays correctly
Bug: T349483
1 parent c7a5859 commit 22c33af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/JsonPointer.php

+1
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ public static function remove(&$holder, $pathItems, $flags = 0)
289289
$isAssociative = true;
290290
break;
291291
}
292+
$i++;
292293
}
293294
}
294295

0 commit comments

Comments
 (0)