summaryrefslogtreecommitdiffstats
path: root/lib/WellKnown
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-15 13:34:01 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-04-15 13:35:51 +0200
commit9e20993c4d8b00d3b8eb19a804f543f17335b47b (patch)
tree94b574a5f9fbb0e0917185c637c6e34b024fb266 /lib/WellKnown
parentbe80ca5d0fc9bd77f4c7c8fd7c986d378b79cc13 (diff)
Php cs:fix
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib/WellKnown')
-rw-r--r--lib/WellKnown/WebfingerHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/WellKnown/WebfingerHandler.php b/lib/WellKnown/WebfingerHandler.php
index 7e7e7cb3..a4f4b228 100644
--- a/lib/WellKnown/WebfingerHandler.php
+++ b/lib/WellKnown/WebfingerHandler.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
/**
@@ -47,7 +48,6 @@ class WebfingerHandler implements IHandler {
CacheActorService $cacheActorService, FediverseService $fediverseService,
ConfigService $configService
) {
-
$this->urlGenerator = $urlGenerator;
$this->cacheActorsRequest = $cacheActorsRequest;
$this->cacheActorService = $cacheActorService;
@@ -83,7 +83,7 @@ class WebfingerHandler implements IHandler {
$response->addLink('self', 'application/activity+json', $href);
// Nextcloud profile page
- $profilePageUrl = $this->urlGenerator->linkToRouteAbsolute('core.ProfilePage.index', [
+ $profilePageUrl = $this->urlGenerator->linkToRouteAbsolute('core.ProfilePage.index', [
'targetUserId' => $actor->getPreferredUsername()
]);
$response->addAlias($profilePageUrl);