aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Search
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-02-06 10:59:17 +0100
committerRobin Appelman <robin@icewind.nl>2024-02-15 17:55:43 +0100
commit63ffaab95ec7a893ec510e7fde802f47ba4a8889 (patch)
tree46e4edbb26f7c45c994319966bb1fd984f1c859c /lib/public/Files/Search
parent7ca516773f2866b3a6bb2e8cb63b5df95d8da03e (diff)
downloadnextcloud-server-63ffaab95ec7a893ec510e7fde802f47ba4a8889.tar.gz
nextcloud-server-63ffaab95ec7a893ec510e7fde802f47ba4a8889.zip
fix types + autoloader
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Files/Search')
-rw-r--r--lib/public/Files/Search/ISearchComparison.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/public/Files/Search/ISearchComparison.php b/lib/public/Files/Search/ISearchComparison.php
index 65a245ead2e..a3842ffaec6 100644
--- a/lib/public/Files/Search/ISearchComparison.php
+++ b/lib/public/Files/Search/ISearchComparison.php
@@ -26,6 +26,9 @@ namespace OCP\Files\Search;
/**
* @since 12.0.0
+ *
+ * @psalm-type ParamSingleValue = \DateTime|int|string|bool
+ * @psalm-type ParamValue = ParamSingleValue|list<ParamSingleValue>
*/
interface ISearchComparison extends ISearchOperator {
/**
@@ -103,7 +106,7 @@ interface ISearchComparison extends ISearchOperator {
/**
* Get the value to compare the field with
*
- * @return string|integer|bool|\DateTime|(\DateTime|int|string)[]
+ * @return ParamValue
* @since 12.0.0
*/
public function getValue(): string|int|bool|\DateTime|array;