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