summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Migration/UUIDFixInsert.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Migration/UUIDFixInsert.php')
-rw-r--r--apps/user_ldap/lib/Migration/UUIDFixInsert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Migration/UUIDFixInsert.php b/apps/user_ldap/lib/Migration/UUIDFixInsert.php
index 4a1104f2c6f..a99e13f74ce 100644
--- a/apps/user_ldap/lib/Migration/UUIDFixInsert.php
+++ b/apps/user_ldap/lib/Migration/UUIDFixInsert.php
@@ -90,7 +90,7 @@ class UUIDFixInsert implements IRepairStep {
$offset += $batchSize;
} catch (\InvalidArgumentException $e) {
if(strpos($e->getMessage(), 'Background job arguments can\'t exceed 4000') !== false) {
- $batchSize = intval(floor(count($records) * 0.8));
+ $batchSize = (int)floor(count($records) * 0.8);
$retry = true;
}
}