Skip to content

Commit

Permalink
adjust wording
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 14, 2017
1 parent 64cf746 commit d31d870
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ protected function hydratePivotRelation(array $models)
{
// To hydrate the pivot relationship, we will just gather the pivot attributes
// and create a new Pivot model, which is basically a dynamic model that we
// will set the attributes, table, and connections on so they can be used.
// will set the attributes, table, and connections on it so it will work.
foreach ($models as $model) {
$model->setRelation('pivot', $this->newExistingPivot(
$this->migratePivotAttributes($model)
Expand Down

0 comments on commit d31d870

Please sign in to comment.