aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-09-16 09:59:33 +0200
committerGitHub <noreply@github.com>2024-09-16 09:59:33 +0200
commit008a5066f673bc079cc97c55dd45baa0718c543d (patch)
tree867f38dc7422ff48dc44d669fecd3b1a3d6e48ef
parent6f23b897af1402b045884a48cee7bb729448aa70 (diff)
downloadnextcloud-server-addConstrDep.tar.gz
nextcloud-server-addConstrDep.zip
fix: lintaddConstrDep
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
-rw-r--r--lib/private/User/Database.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/User/Database.php b/lib/private/User/Database.php
index b6f46c0bad8..a6141a462b0 100644
--- a/lib/private/User/Database.php
+++ b/lib/private/User/Database.php
@@ -209,8 +209,9 @@ class Database extends ABackend implements
/**
* get display name of the user
*
+ * @param string $uid user ID of the user
*/
- public function getDisplayName(string $uid): string {
+ public function getDisplayName($uid): string {
$uid = (string)$uid;
$this->loadUser($uid);