From: Philipp Holzer Date: Wed, 1 May 2019 17:48:49 +0000 (+0200) Subject: code standards :-) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a47a6a0cd95465b151e38e0c106e7653aa890d7e;p=friendica.git code standards :-) --- 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')) {