]> git.mxchange.org Git - friendica.git/commitdiff
code standards :-)
authorPhilipp Holzer <admin@philipp.info>
Wed, 1 May 2019 17:48:49 +0000 (19:48 +0200)
committerPhilipp Holzer <admin@philipp.info>
Wed, 1 May 2019 17:48:49 +0000 (19:48 +0200)
src/Module/WebFinger.php
src/Module/WellKnown/XSocialRelay.php

index 2f8a017cc967f95e219aeca1c0eb657a50fa4c30..3afcecb0565706c7254b1bea1c163f80a4d40077 100644 (file)
@@ -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();
                }
index 33e58d0c5ca2bc592beedd285605a8065a045734..a1bbeb78aacbe9fdb880e818e1dcecb3c7ef8ddb 100644 (file)
@@ -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')) {