Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 2 additions & 2 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /