From fa3194fcef49e2ba66714d3e976ec12102c76aee Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 20 Sep 2017 07:37:55 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- extensions/mentions/src/Listener/FormatPostMentions.php | 1 + extensions/mentions/src/Listener/FormatUserMentions.php | 1 + 2 files changed, 2 insertions(+) diff --git a/extensions/mentions/src/Listener/FormatPostMentions.php b/extensions/mentions/src/Listener/FormatPostMentions.php index 9731303be..efcb36c91 100755 --- a/extensions/mentions/src/Listener/FormatPostMentions.php +++ b/extensions/mentions/src/Listener/FormatPostMentions.php @@ -82,6 +82,7 @@ class FormatPostMentions if ($post && $post->user) { $attributes['displayname'] = $post->user->display_name; } + return $attributes; }); } diff --git a/extensions/mentions/src/Listener/FormatUserMentions.php b/extensions/mentions/src/Listener/FormatUserMentions.php index 83863f0be..653886a8f 100755 --- a/extensions/mentions/src/Listener/FormatUserMentions.php +++ b/extensions/mentions/src/Listener/FormatUserMentions.php @@ -78,6 +78,7 @@ class FormatUserMentions if ($user) { $attributes['displayname'] = $user->display_name; } + return $attributes; }); }