mirror of
https://github.com/flarum/framework.git
synced 2025-04-27 15:14:04 +08:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
parent
408d882598
commit
fa3194fcef
extensions/mentions/src/Listener
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user