Skip to content

Commit 283f779

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev-l9
2 parents 2859271 + 89dfb17 commit 283f779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Eloquent/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ public function firstOrCreate(array $attributes = [], array $values = [])
183183
return $instance;
184184
}
185185

186-
return $this->createOrFirst($attributes, $values);
186+
return $this->create(array_merge($attributes, $values));
187187
}
188188

189189

0 commit comments

Comments
 (0)