summaryrefslogtreecommitdiff
path: root/app/Services/UserService.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-02-01 16:07:35 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-02-01 16:07:35 +0000
commitc65e00b470019e0b73635183058194c217d3035f (patch)
tree482e685b0312a7e87678fdb9c1608a00d518e21d /app/Services/UserService.php
parent4c3fdcde56e8ab380ab1a8f5ea6a669f954e61b2 (diff)
downloadwebtrees-c65e00b470019e0b73635183058194c217d3035f.tar.gz
webtrees-c65e00b470019e0b73635183058194c217d3035f.tar.bz2
webtrees-c65e00b470019e0b73635183058194c217d3035f.zip
Refactor admin controllers and add tests
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 b99aba3f93..80a7919d0c 100644
--- a/app/Services/UserService.php
+++ b/app/Services/UserService.php
@@ -263,7 +263,7 @@ class UserService
*
* @return User
*/
- public static function create($user_name, $real_name, $email, $password): User
+ public static function create(string $user_name, string $real_name, string $email, string $password): User
{
DB::table('user')->insert([
'user_name' => $user_name,