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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-13 14:10:26 +0300
committerJoas Schilling <coding@schilljs.com>2020-10-13 14:10:26 +0300
commitb76d5ddbc3c9a9c45224445e838396a17e66d2ff (patch)
tree92db7c3a797d4f9e9e27f5662a30582974421582 /lib/Migration
parent8967bb9153c48393b032420d93955cea2b6c1a58 (diff)
Psalm auto fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version2001Date20170707115443.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Migration/Version2001Date20170707115443.php b/lib/Migration/Version2001Date20170707115443.php
index f932133be..63264fa48 100644
--- a/lib/Migration/Version2001Date20170707115443.php
+++ b/lib/Migration/Version2001Date20170707115443.php
@@ -136,7 +136,7 @@ class Version2001Date20170707115443 extends SimpleMigrationStep {
->where($update->expr()->in('roomId', $update->createNamedParameter($one2oneRooms, IQueryBuilder::PARAM_INT_ARRAY)));
}
- return $update->execute();
+ return (int) $update->execute();
}
/**
@@ -160,6 +160,6 @@ class Version2001Date20170707115443 extends SimpleMigrationStep {
$update->andWhere($update->expr()->notIn('roomId', $update->createNamedParameter($one2oneRooms, IQueryBuilder::PARAM_INT_ARRAY)));
}
- return $update->execute();
+ return (int) $update->execute();
}
}