summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Search
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/Search')
-rw-r--r--lib/public/Files/Search/ISearchBinaryOperator.php6
-rw-r--r--lib/public/Files/Search/ISearchComparison.php12
-rw-r--r--lib/public/Files/Search/ISearchOrder.php4
3 files changed, 11 insertions, 11 deletions
diff --git a/lib/public/Files/Search/ISearchBinaryOperator.php b/lib/public/Files/Search/ISearchBinaryOperator.php
index a089323c9fc..554108aadf2 100644
--- a/lib/public/Files/Search/ISearchBinaryOperator.php
+++ b/lib/public/Files/Search/ISearchBinaryOperator.php
@@ -27,9 +27,9 @@ namespace OCP\Files\Search;
* @since 12.0.0
*/
interface ISearchBinaryOperator extends ISearchOperator {
- const OPERATOR_AND = 'and';
- const OPERATOR_OR = 'or';
- const OPERATOR_NOT = 'not';
+ public const OPERATOR_AND = 'and';
+ public const OPERATOR_OR = 'or';
+ public const OPERATOR_NOT = 'not';
/**
* The type of binary operator
diff --git a/lib/public/Files/Search/ISearchComparison.php b/lib/public/Files/Search/ISearchComparison.php
index 6cfbb29ee54..e2e0a705183 100644
--- a/lib/public/Files/Search/ISearchComparison.php
+++ b/lib/public/Files/Search/ISearchComparison.php
@@ -27,12 +27,12 @@ namespace OCP\Files\Search;
* @since 12.0.0
*/
interface ISearchComparison extends ISearchOperator {
- const COMPARE_EQUAL = 'eq';
- const COMPARE_GREATER_THAN = 'gt';
- const COMPARE_GREATER_THAN_EQUAL = 'gte';
- const COMPARE_LESS_THAN = 'lt';
- const COMPARE_LESS_THAN_EQUAL = 'lte';
- const COMPARE_LIKE = 'like';
+ public const COMPARE_EQUAL = 'eq';
+ public const COMPARE_GREATER_THAN = 'gt';
+ public const COMPARE_GREATER_THAN_EQUAL = 'gte';
+ public const COMPARE_LESS_THAN = 'lt';
+ public const COMPARE_LESS_THAN_EQUAL = 'lte';
+ public const COMPARE_LIKE = 'like';
/**
* Get the type of comparison, one of the ISearchComparison::COMPARE_* constants
diff --git a/lib/public/Files/Search/ISearchOrder.php b/lib/public/Files/Search/ISearchOrder.php
index 817c7e3b5b4..fdcd53447f5 100644
--- a/lib/public/Files/Search/ISearchOrder.php
+++ b/lib/public/Files/Search/ISearchOrder.php
@@ -27,8 +27,8 @@ namespace OCP\Files\Search;
* @since 12.0.0
*/
interface ISearchOrder {
- const DIRECTION_ASCENDING = 'asc';
- const DIRECTION_DESCENDING = 'desc';
+ public const DIRECTION_ASCENDING = 'asc';
+ public const DIRECTION_DESCENDING = 'desc';
/**
* The direction to sort in, either ISearchOrder::DIRECTION_ASCENDING or ISearchOrder::DIRECTION_DESCENDING