Skip to content

Commit 7853636

Browse files
committed
chore: Add a psalm-suppress annotation to support old versions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 991427d commit 7853636

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
@@ -327,6 +327,7 @@ protected function importAppsSettings(IUser $user,
327327
foreach ($data as $app => $values) {
328328
foreach ($values as $key => $value) {
329329
$type = $userConfig->getValueType($userId, $app, $key);
330+
/** @psalm-suppress UndefinedClass ValueType only exists in 32 and higher, but in this if branch we know it exists */
330331
switch ($type) {
331332
default:
332333
case ValueType::MIXED:

0 commit comments

Comments
 (0)