Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/IAvatar.php')
-rw-r--r--lib/public/IAvatar.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/IAvatar.php b/lib/public/IAvatar.php
index e4a9ce5dcc1..d05a12e1dbf 100644
--- a/lib/public/IAvatar.php
+++ b/lib/public/IAvatar.php
@@ -89,10 +89,9 @@ interface IAvatar {
/**
* Get the avatar background color
*
- * @return Color Object containting r g b int in the range [0, 255]
* @since 14.0.0
*/
- public function avatarBackgroundColor(string $text);
+ public function avatarBackgroundColor(string $hash): Color;
/**
* Updates the display name if changed.