-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
Description
laravel-mysql-spatial/src/Types/PointCollection.php
Lines 64 to 71 in e17f491
| public function insertPoint($index, Point $point) | |
| { | |
| if (count($this->points) - 1 < $index) { | |
| throw new InvalidArgumentException('$index is greater than the size of the array'); | |
| } | |
| array_splice($this->points, $offset, 0, [$point]); | |
| } |