diff options
author | Vitor Mattos <vitor@php.rio> | 2021-12-06 20:08:30 +0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2021-12-06 20:08:30 +0300 |
commit | 7d9aa7712e0323d388215fd76bbede18ff9f6881 (patch) | |
tree | 9c0e246b35e93040560784953cabf9caa3b68076 /lib | |
parent | b933e65e2e979c5c33b6cc16c29bda7fb80fa50a (diff) |
Reduce RedundantCast
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Migration/Version2001Date20170707115443.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Migration/Version2001Date20170707115443.php b/lib/Migration/Version2001Date20170707115443.php index e80c78276..5c9f44b1d 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 (int) $update->executeStatement(); + return $update->executeStatement(); } /** @@ -160,6 +160,6 @@ class Version2001Date20170707115443 extends SimpleMigrationStep { $update->andWhere($update->expr()->notIn('roomId', $update->createNamedParameter($one2oneRooms, IQueryBuilder::PARAM_INT_ARRAY))); } - return (int) $update->executeStatement(); + return $update->executeStatement(); } } |