Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/8.x' into 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 24, 2020
2 parents 4660f32 + 06ddd7c commit 5e918ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Eloquent/Relations/MorphTo.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ protected function gatherKeysByType($type, $keyType)
return $keyType !== 'string'
? array_keys($this->dictionary[$type])
: array_map(function ($modelId) {
return (string) $modelId;
}, array_keys($this->dictionary[$type]));
return (string) $modelId;
}, array_keys($this->dictionary[$type]));
}

/**
Expand Down

0 comments on commit 5e918ed

Please sign in to comment.