[ticket/13713] Fix closure formatting

PHPBB3-13713
This commit is contained in:
lavigor 2018-07-30 03:03:45 +03:00 committed by Marc Alexander
parent 27b37f3881
commit 07130bf077
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -148,7 +148,8 @@ class mention_helper
return TextFormatterUtils::replaceAttributes(
$xml,
'MENTION',
function ($attributes) use ($profile_urls) {
function ($attributes) use ($profile_urls)
{
if (isset($attributes['type']) && isset($attributes['id']))
{
$type = $attributes['type'];