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 7af87a7 commit 3c9f983Copy full SHA for 3c9f983
src/Types/PointCollection.php
@@ -67,7 +67,7 @@ public function insertPoint($index, Point $point)
67
throw new InvalidArgumentException('$index is greater than the size of the array');
68
}
69
70
- array_splice($this->points, $offset, 0, [$point]);
+ array_splice($this->points, $index, 0, [$point]);
71
72
73
public function offsetExists($offset)
0 commit comments