From a47a6a0cd95465b151e38e0c106e7653aa890d7e Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 1 May 2019 19:48:49 +0200 Subject: [PATCH] code standards :-) --- src/Module/WebFinger.php | 6 +++--- src/Module/WellKnown/XSocialRelay.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Module/WebFinger.php b/src/Module/WebFinger.php index 2f8a017cc9..3afcecb056 100644 --- a/src/Module/WebFinger.php +++ b/src/Module/WebFinger.php @@ -19,9 +19,9 @@ class WebFinger extends BaseModule System::httpExit( 403, [ - 'title' => L10n::t("Public access denied."), - 'description' => L10n::t("Only logged in users are permitted to perform a probing.") - ] + 'title' => L10n::t('Public access denied.'), + 'description' => L10n::t('Only logged in users are permitted to perform a probing.'), + ], ); exit(); } diff --git a/src/Module/WellKnown/XSocialRelay.php b/src/Module/WellKnown/XSocialRelay.php index 33e58d0c5c..a1bbeb78aa 100644 --- a/src/Module/WellKnown/XSocialRelay.php +++ b/src/Module/WellKnown/XSocialRelay.php @@ -33,7 +33,7 @@ class XSocialRelay extends BaseModule /// @todo Check if it was better to use "strtolower" on the tags foreach ($tagitems AS $tag) { - $systemTags[] = trim($tag, "# "); + $systemTags[] = trim($tag, '# '); } if ($config->get('system', 'relay_user_tags')) { -- 2.39.5