From 379eeb49eb523a52ccffeafc7e721ba635523716 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 6 Nov 2022 20:35:39 +0100 Subject: [PATCH] make the standards check happy --- src/Worker/CheckRelMeProfileLink.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Worker/CheckRelMeProfileLink.php b/src/Worker/CheckRelMeProfileLink.php index b047ff3a21..e5727cc83d 100644 --- a/src/Worker/CheckRelMeProfileLink.php +++ b/src/Worker/CheckRelMeProfileLink.php @@ -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) {