summaryrefslogtreecommitdiff
path: root/app/Services/UserService.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-04-17 14:03:55 +0100
committerGreg Roach <fisharebest@webtrees.net>2019-04-17 14:03:55 +0100
commit8e39618ca07b3a40a1a7d96a3d410b9eaf623cae (patch)
tree893d282e8ad43ee166e3e6ab5bfa12a397146bfd /app/Services/UserService.php
parent9d454b6b5c779887fb852aa7e56ef527aa07148d (diff)
downloadwebtrees-8e39618ca07b3a40a1a7d96a3d410b9eaf623cae.tar.gz
webtrees-8e39618ca07b3a40a1a7d96a3d410b9eaf623cae.tar.bz2
webtrees-8e39618ca07b3a40a1a7d96a3d410b9eaf623cae.zip
Explicit type casts
Diffstat (limited to 'app/Services/UserService.php')
-rw-r--r--app/Services/UserService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Services/UserService.php b/app/Services/UserService.php
index b5cf755b6a..35bb1cdbce 100644
--- a/app/Services/UserService.php
+++ b/app/Services/UserService.php
@@ -347,7 +347,7 @@ class UserService
$url = route('contact', [
'ged' => $tree ? $tree->name() : '',
'to' => $contact_user->userName(),
- 'url' => $request->getUri(),
+ 'url' => (string) $request->getUri(),
]);
}