aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Search
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-02-14 20:48:27 +0100
committerJoas Schilling <coding@schilljs.com>2024-02-14 20:50:08 +0100
commit42be7a5d74d1cd4d8edc0ba52854f1bb73cd67d0 (patch)
tree85ec146d450a0aceaafbc926f94b32dff442af7a /lib/public/Search
parent887c061fc8de23848095d71b567a8ad413c7f9b3 (diff)
downloadnextcloud-server-42be7a5d74d1cd4d8edc0ba52854f1bb73cd67d0.tar.gz
nextcloud-server-42be7a5d74d1cd4d8edc0ba52854f1bb73cd67d0.zip
fix(OCP): Add since tag for all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Search')
-rw-r--r--lib/public/Search/FilterDefinition.php35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/public/Search/FilterDefinition.php b/lib/public/Search/FilterDefinition.php
index 7e1538acedb..c1e23cd3cd3 100644
--- a/lib/public/Search/FilterDefinition.php
+++ b/lib/public/Search/FilterDefinition.php
@@ -35,14 +35,49 @@ use InvalidArgumentException;
* @since 28.0.0
*/
class FilterDefinition {
+ /**
+ * @since 28.0.0
+ */
public const TYPE_BOOL = 'bool';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_INT = 'int';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_FLOAT = 'float';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_STRING = 'string';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_STRINGS = 'strings';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_DATETIME = 'datetime';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_PERSON = 'person';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_NC_USER = 'nc-user';
+
+ /**
+ * @since 28.0.0
+ */
public const TYPE_NC_GROUP = 'nc-group';
/**