diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-03-05 12:00:04 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-03-05 12:00:04 +0000 |
| commit | 54c7f8df0fc7bddb0bcc1441937c30320ca68563 (patch) | |
| tree | 64310c28cc14940206d42b27287992ad9af5477d /app/Services/UserService.php | |
| parent | 0cfd6963ac65bd7fe86283b801b4f23d665c6004 (diff) | |
| download | webtrees-54c7f8df0fc7bddb0bcc1441937c30320ca68563.tar.gz webtrees-54c7f8df0fc7bddb0bcc1441937c30320ca68563.tar.bz2 webtrees-54c7f8df0fc7bddb0bcc1441937c30320ca68563.zip | |
Dual type-hints upset vimeo/psalm, but are useful in PhpStorm
Diffstat (limited to 'app/Services/UserService.php')
| -rw-r--r-- | app/Services/UserService.php | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/app/Services/UserService.php b/app/Services/UserService.php index a6404b3328..25f1da3e47 100644 --- a/app/Services/UserService.php +++ b/app/Services/UserService.php @@ -88,7 +88,8 @@ class UserService * * @param Individual $individual * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function findByIndividual(Individual $individual): Collection { @@ -121,7 +122,8 @@ class UserService /** * Get a list of all users. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function all(): Collection { @@ -135,7 +137,8 @@ class UserService /** * Get a list of all administrators. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function administrators(): Collection { @@ -156,7 +159,8 @@ class UserService /** * Get a list of all managers. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function managers(): Collection { @@ -177,7 +181,8 @@ class UserService /** * Get a list of all moderators. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function moderators(): Collection { @@ -198,7 +203,8 @@ class UserService /** * Get a list of all verified users. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function unapproved(): Collection { @@ -219,7 +225,8 @@ class UserService /** * Get a list of all verified users. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function unverified(): Collection { @@ -240,7 +247,8 @@ class UserService /** * Get a list of all users who are currently logged in. * - * @return Collection|User[] + * @return Collection + * @return User[] */ public function allLoggedIn(): Collection { |
