Skip to content

Commit 2d6880b

Browse files
CS
1 parent 6cb375d commit 2d6880b

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)