summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
m---------3rdparty0
-rw-r--r--apps/user_ldap/lib/Command/Search.php4
-rw-r--r--core/Command/Db/ConvertType.php4
-rw-r--r--core/Command/Group/ListCommand.php4
-rw-r--r--core/Command/User/ListCommand.php4
5 files changed, 8 insertions, 8 deletions
diff --git a/3rdparty b/3rdparty
-Subproject 0d7c15582f5d2478f333c0487acf88ae881d920
+Subproject eb3db9b05f68808150c052cc574ec3a70e6337f
diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php
index bba37e4a6ca..96c4df4b2bf 100644
--- a/apps/user_ldap/lib/Command/Search.php
+++ b/apps/user_ldap/lib/Command/Search.php
@@ -73,14 +73,14 @@ class Search extends Command {
null,
InputOption::VALUE_REQUIRED,
'The offset of the result set. Needs to be a multiple of limit. defaults to 0.',
- 0
+ '0'
)
->addOption(
'limit',
null,
InputOption::VALUE_REQUIRED,
'limit the results. 0 means no limit, defaults to 15',
- 15
+ '15'
)
;
}
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php
index 47a07b2f324..27f3147b81d 100644
--- a/core/Command/Db/ConvertType.php
+++ b/core/Command/Db/ConvertType.php
@@ -132,7 +132,7 @@ class ConvertType extends Command implements CompletionAwareInterface {
null,
InputOption::VALUE_REQUIRED,
'the maximum number of database rows to handle in a single query, bigger tables will be handled in chunks of this size. Lower this if the process runs out of memory during conversion.',
- 1000
+ '1000'
)
;
}
@@ -306,7 +306,7 @@ class ConvertType extends Command implements CompletionAwareInterface {
return;
}
- $chunkSize = $input->getOption('chunk-size');
+ $chunkSize = (int)$input->getOption('chunk-size');
$query = $fromDB->getQueryBuilder();
$query->automaticTablePrefix(false);
diff --git a/core/Command/Group/ListCommand.php b/core/Command/Group/ListCommand.php
index 5531481d3b3..db7493fe8d4 100644
--- a/core/Command/Group/ListCommand.php
+++ b/core/Command/Group/ListCommand.php
@@ -52,13 +52,13 @@ class ListCommand extends Base {
'l',
InputOption::VALUE_OPTIONAL,
'Number of groups to retrieve',
- 500
+ '500'
)->addOption(
'offset',
'o',
InputOption::VALUE_OPTIONAL,
'Offset for retrieving groups',
- 0
+ '0'
)->addOption(
'info',
'i',
diff --git a/core/Command/User/ListCommand.php b/core/Command/User/ListCommand.php
index e28403aa04c..a30b1cae118 100644
--- a/core/Command/User/ListCommand.php
+++ b/core/Command/User/ListCommand.php
@@ -60,13 +60,13 @@ class ListCommand extends Base {
'l',
InputOption::VALUE_OPTIONAL,
'Number of users to retrieve',
- 500
+ '500'
)->addOption(
'offset',
'o',
InputOption::VALUE_OPTIONAL,
'Offset for retrieving users',
- 0
+ '0'
)->addOption(
'output',
null,