Skip to content

Commit 8989d93

Browse files
committed
fix performInsert args
1 parent e62eafe commit 8989d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Eloquent/SpatialTrait.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected function newBaseQueryBuilder()
8181
);
8282
}
8383

84-
protected function performInsert(EloquentBuilder $query, array $options = [])
84+
protected function performInsert(EloquentBuilder $query)
8585
{
8686
foreach ($this->attributes as $key => $value) {
8787
if ($value instanceof GeometryInterface) {
@@ -90,7 +90,7 @@ protected function performInsert(EloquentBuilder $query, array $options = [])
9090
}
9191
}
9292

93-
$insert = parent::performInsert($query, $options);
93+
$insert = parent::performInsert($query);
9494

9595
foreach ($this->geometries as $key => $value) {
9696
$this->attributes[$key] = $value; //Retrieve the geometry objects so they can be used in the model

0 commit comments

Comments
 (0)