Skip to content

Commit 85fbe6d

Browse files
Merge branch '6.x' into 7.x
2 parents e6247e4 + 2d6880b commit 85fbe6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Relations/MorphToMany.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ protected function getCurrentlyAttachedPivots()
124124
{
125125
return parent::getCurrentlyAttachedPivots()->map(function ($record) {
126126
return $record->setMorphType($this->morphType)
127-
->setMorphClass($this->morphClass);
127+
->setMorphClass($this->morphClass);
128128
});
129129
}
130130

0 commit comments

Comments
 (0)