diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:48:31 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-04-10 16:48:31 +0200 |
commit | a7c8d26d31cb1cf69e0e060c53622e545fcfbbb3 (patch) | |
tree | 629f395d91f3cf15497bbfd6597e6df9b081cf36 /lib/private/Files/Cache/QuerySearchHelper.php | |
parent | 1762a409f954fd9a66e7572704ea9ba7813601b4 (diff) | |
download | nextcloud-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.php | 4 |
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', |