aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-07-08 16:50:49 +0530
committeryemkareems <yemkareems@gmail.com>2024-07-30 10:01:15 +0530
commitdeb1f22c23b15565d9d3c2e87dba08d789ad7fab (patch)
tree5e15b75934a7eed8038aa788d7eda544d921a2f0
parent8fc516c39a8559a0ad77bc2fc461684b8e3810b9 (diff)
downloadnextcloud-server-deb1f22c23b15565d9d3c2e87dba08d789ad7fab.tar.gz
nextcloud-server-deb1f22c23b15565d9d3c2e87dba08d789ad7fab.zip
fix: addOption type corrected
Signed-off-by: yemkareems <yemkareems@gmail.com>
-rw-r--r--apps/files/lib/Command/ListFiles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/lib/Command/ListFiles.php b/apps/files/lib/Command/ListFiles.php
index 4edc930d8cf..b62e30f89a7 100644
--- a/apps/files/lib/Command/ListFiles.php
+++ b/apps/files/lib/Command/ListFiles.php
@@ -51,13 +51,13 @@ class ListFiles extends Base {
->addOption("type", "", InputArgument::OPTIONAL, "Filter by type like application, image, video etc")
->addOption(
"minSize",
- 0,
+ "0",
InputArgument::OPTIONAL,
"Filter by min size"
)
->addOption(
"maxSize",
- 0,
+ "0",
InputArgument::OPTIONAL,
"Filter by max size"
)