]> git.mxchange.org Git - friendica.git/commitdiff
make the standards check happy
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 6 Nov 2022 19:35:39 +0000 (20:35 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 7 Nov 2022 10:19:33 +0000 (11:19 +0100)
src/Worker/CheckRelMeProfileLink.php

index b047ff3a21e117f4ea5f93cbf47904bdfaefac87..e5727cc83d6d80b8b601a123433487ae0a09f9ea 100644 (file)
@@ -57,10 +57,10 @@ class CheckRelMeProfileLink
                Logger::notice('Verifying the homepage', ['uid' => $uid]);
                Profile::update(['homepage_verified' => false], $uid);
                $homepageUrlVerified = false;
-               $owner = User::getOwnerDataById($uid);
+               $owner               = User::getOwnerDataById($uid);
                if (!empty($owner['homepage'])) {
                        $xrd_timeout = DI::config()->get('system', 'xrd_timeout');
-                       $curlResult = DI::httpClient()->get($owner['homepage'], $accept_content = HttpClientAccept::HTML, [HttpClientOptions::TIMEOUT => $xrd_timeout]);
+                       $curlResult  = DI::httpClient()->get($owner['homepage'], $accept_content = HttpClientAccept::HTML, [HttpClientOptions::TIMEOUT => $xrd_timeout]);
                        if ($curlResult->isSuccess()) {
                                $content = $curlResult->getBody();
                                if (!$content) {