diff options
author | Marc Hefter <marchefter@march42.net> | 2023-02-17 10:37:31 +0100 |
---|---|---|
committer | Marc Hefter <marchefter@gmail.com> | 2023-04-06 08:20:26 +0200 |
commit | 651273808f7e40695539a4ac5b205b8aa46ff9ed (patch) | |
tree | 94aa37100ef501eece08a4d8ea7af9170db46e99 | |
parent | 2f76b7a3d5b2d5712afb119db4f7af2e3bcf7bfc (diff) | |
download | nextcloud-server-651273808f7e40695539a4ac5b205b8aa46ff9ed.tar.gz nextcloud-server-651273808f7e40695539a4ac5b205b8aa46ff9ed.zip |
CleanUp: correct version to 27 and return value specification
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Marc Hefter <marchefter@march42.net>
Signed-off-by: Marc Hefter <marchefter@gmail.com>
-rw-r--r-- | lib/private/User/User.php | 6 | ||||
-rw-r--r-- | lib/public/IUser.php | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/private/User/User.php b/lib/private/User/User.php index aaff2db8f5a..9449705358d 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -592,7 +592,7 @@ class User implements IUser { /** * @param string $property name of the AccountProperty - * @return string|null AccountProperty value + * @return ?string AccountProperty value * @throws InvalidArgumentException when the property name is invalid or null */ public function getProfilePropertyValue($property): ?string { @@ -611,7 +611,7 @@ class User implements IUser { /** * @param string $property name of the AccountProperty - * @return string|null AccountProperty scope + * @return ?string AccountProperty scope * @throws InvalidArgumentException when the property name is invalid or null */ public function getProfilePropertyScope($property): ?string { @@ -627,7 +627,7 @@ class User implements IUser { /** * @param string $property name of the AccountProperty - * @return string|null AccountProperty verified + * @return ?string AccountProperty verified * @throws InvalidArgumentException when the property name is invalid or null */ public function getProfilePropertyVerified($property): ?string { diff --git a/lib/public/IUser.php b/lib/public/IUser.php index 7dc21a28b08..f942e6f036f 100644 --- a/lib/public/IUser.php +++ b/lib/public/IUser.php @@ -278,7 +278,7 @@ interface IUser { * @param string $property name see IAccountManager::PROPERTY_* * @return string AccountProperty value * @throws InvalidArgumentException when the property name is invalid or null - * @since 25.0.0 + * @since 27.0.0 */ public function getProfilePropertyValue(string $property): ?string; @@ -288,7 +288,7 @@ interface IUser { * @param string $property name see IAccountManager::PROPERTY_* * @return string AccountProperty scope IAccountManager::SCOPE_* * @throws InvalidArgumentException when the property name is invalid or null - * @since 25.0.0 + * @since 27.0.0 */ public function getProfilePropertyScope(string $property): ?string; @@ -298,7 +298,7 @@ interface IUser { * @param string $property name see IAccountManager::PROPERTY_* * @return string AccountProperty verification status IAccountManager::NOT_VERIFIED/VERIFICATION_IN_PROGRESS/VERIFIED * @throws InvalidArgumentException when the property name is invalid or null - * @since 25.0.0 + * @since 27.0.0 */ public function getProfilePropertyVerified(string $property): ?string; @@ -311,7 +311,7 @@ interface IUser { * @param string $verified AccountProperty verified * @return void * @throws InvalidArgumentException when the property name is invalid or null - * @since 25.0.0 + * @since 27.0.0 */ public function setProfileProperty(string $property, $value=null, $scope=null, $verified=null); } |