Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Aug 31, 2024
1 parent a9e2a38 commit e9ec009
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/private/UserPreferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function (string $key) use ($prefix): bool {
* @param string $userId id of the user
* @param string $key preference key
* @param bool $lazy search within lazy loaded preferences
* @param int|null $typedAs enforce type for the returned values ({@see ValueType::STRING} and others)
* @param ValueType|null $typedAs enforce type for the returned values
*
* @return array<string, string|int|float|bool|array> [appId => value]
* @since 31.0.0
Expand Down
4 changes: 2 additions & 2 deletions lib/public/UserPreferences/IUserPreferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function getAllValues(string $userId, string $app, string $prefix = '', b
* @param string $userId id of the user
* @param string $key preference key
* @param bool $lazy search within lazy loaded preferences
* @param int|null $typedAs enforce type for the returned values {@see self::VALUE_STRING} and others
* @param ValueType|null $typedAs enforce type for the returned values
*
* @return array<string, string|int|float|bool|array> [appId => value]
* @since 31.0.0
Expand All @@ -136,7 +136,7 @@ public function searchValuesByApps(string $userId, string $key, bool $lazy = fal
*
* @param string $app id of the app
* @param string $key preference key
* @param int|null $typedAs enforce type for the returned values {@see self::VALUE_STRING} and others
* @param ValueType|null $typedAs enforce type for the returned values
*
* @return array<string, string|int|float|bool|array> [userId => value]
* @since 31.0.0
Expand Down

0 comments on commit e9ec009

Please sign in to comment.