Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jimpeters committed Sep 24, 2020
1 parent 025bb34 commit 5813b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Relations/MorphTo.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ protected function getResultsByType($type)
*/
protected function gatherKeysByType($type, $keyType)
{
if ( $keyType === 'string' ) {
if ($keyType === 'string') {
return array_map(function ($modelId) {
return (string) $modelId;
}, array_keys($this->dictionary[$type]));
Expand Down

0 comments on commit 5813b00

Please sign in to comment.