mirror of
https://github.com/flarum/framework.git
synced 2025-01-24 07:18:30 +08:00
Merge pull request #28 from flarum/analysis-qgx2Q4
Apply fixes from StyleCI
This commit is contained in:
commit
649a307383
|
@ -82,6 +82,7 @@ class FormatPostMentions
|
|||
if ($post && $post->user) {
|
||||
$attributes['displayname'] = $post->user->display_name;
|
||||
}
|
||||
|
||||
return $attributes;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -78,6 +78,7 @@ class FormatUserMentions
|
|||
if ($user) {
|
||||
$attributes['displayname'] = $user->display_name;
|
||||
}
|
||||
|
||||
return $attributes;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user