Skip to content

Commit 5e918ed

Browse files
committed
Merge remote-tracking branch 'origin/8.x' into 8.x
2 parents 4660f32 + 06ddd7c commit 5e918ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ protected function gatherKeysByType($type, $keyType)
152152
return $keyType !== 'string'
153153
? array_keys($this->dictionary[$type])
154154
: array_map(function ($modelId) {
155-
return (string) $modelId;
156-
}, array_keys($this->dictionary[$type]));
155+
return (string) $modelId;
156+
}, array_keys($this->dictionary[$type]));
157157
}
158158

159159
/**

0 commit comments

Comments
 (0)