summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/QuerySearchHelper.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:48:31 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 16:48:31 +0200
commita7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (patch)
tree629f395d91f3cf15497bbfd6597e6df9b081cf36 /lib/private/Files/Cache/QuerySearchHelper.php
parent1762a409f954fd9a66e7572704ea9ba7813601b4 (diff)
downloadnextcloud-server-a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3.tar.gz
nextcloud-server-a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3.zip
Add visibility to all properties and move static keyword
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Files/Cache/QuerySearchHelper.php')
-rw-r--r--lib/private/Files/Cache/QuerySearchHelper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/QuerySearchHelper.php b/lib/private/Files/Cache/QuerySearchHelper.php
index 9f2d7aadd7e..f1e8aa978f4 100644
--- a/lib/private/Files/Cache/QuerySearchHelper.php
+++ b/lib/private/Files/Cache/QuerySearchHelper.php
@@ -36,7 +36,7 @@ use OCP\Files\Search\ISearchOrder;
* Tools for transforming search queries into database queries
*/
class QuerySearchHelper {
- static protected $searchOperatorMap = [
+ protected static $searchOperatorMap = [
ISearchComparison::COMPARE_LIKE => 'iLike',
ISearchComparison::COMPARE_EQUAL => 'eq',
ISearchComparison::COMPARE_GREATER_THAN => 'gt',
@@ -45,7 +45,7 @@ class QuerySearchHelper {
ISearchComparison::COMPARE_LESS_THAN_EQUAL => 'lte'
];
- static protected $searchOperatorNegativeMap = [
+ protected static $searchOperatorNegativeMap = [
ISearchComparison::COMPARE_LIKE => 'notLike',
ISearchComparison::COMPARE_EQUAL => 'neq',
ISearchComparison::COMPARE_GREATER_THAN => 'lte',