Skip to content

Commit 2c1ae9d

Browse files
committed
chore: Silence psalm false-positive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent d6e80e0 commit 2c1ae9d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/Service/UserMigrationService.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ protected function importAppsSettings(IUser $user,
331331
$type = $userConfig->getValueType($userId, $app, $key);
332332
} catch (UnknownKeyException) {
333333
/** If type is unknown, default to mixed */
334+
/** @psalm-suppress UndefinedClass ValueType only exists in 32 and higher, but in this if branch we know it exists */
334335
$type = ValueType::MIXED;
335336
}
336337
/** @psalm-suppress UndefinedClass ValueType only exists in 32 and higher, but in this if branch we know it exists */

0 commit comments

Comments
 (0)