Skip to content

Commit 78102d9

Browse files
committed
wording
1 parent b8b9af6 commit 78102d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eloquent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@ So, to get started, you should define which model attributes you want to make ma
344344
Once we have made the attributes mass assignable, we can use the `create` method to insert a new record in the database. The `create` method returns the saved model instance:
345345

346346
$flight = App\Flight::create(['name' => 'Flight 10']);
347-
348-
You may also use the `fill` method to update an existing model:
347+
348+
If you already have a model instance, you may use the `fill` method to populate it with an array of attributes:
349349

350350
$flight->fill(['name' => 'Flight 22']);
351351

0 commit comments

Comments
 (0)